summarylogtreecommitdiffstats
path: root/osg340.patch
diff options
context:
space:
mode:
authorcyril@biminsight.ch2019-05-11 00:29:15 +0200
committercyril@biminsight.ch2019-05-11 00:29:15 +0200
commit4a28535b8707e8bbb62ea757820c8c11f3356bcd (patch)
tree4d58349351c41b0d55f9e270546e331c6e135801 /osg340.patch
parent23457245b714bc84dde8e43e69ef0f64eff58ad8 (diff)
downloadaur-4a28535b8707e8bbb62ea757820c8c11f3356bcd.tar.gz
Update 2019.05.11
Diffstat (limited to 'osg340.patch')
-rw-r--r--osg340.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/osg340.patch b/osg340.patch
deleted file mode 100644
index b28f4dff4296..000000000000
--- a/osg340.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -Naur IfcPlusPlus.orig/IfcPlusPlus/src/ifcpp/geometry/ConverterOSG.h IfcPlusPlus/IfcPlusPlus/src/ifcpp/geometry/ConverterOSG.h
---- IfcPlusPlus.orig/IfcPlusPlus/src/ifcpp/geometry/ConverterOSG.h 2016-05-03 22:48:45.167336967 +0200
-+++ IfcPlusPlus/IfcPlusPlus/src/ifcpp/geometry/ConverterOSG.h 2016-05-03 22:59:10.007285252 +0200
-@@ -481,10 +481,9 @@
- const osg::Geode* child_geode = dynamic_cast<const osg::Geode*>( node );
- if( child_geode )
- {
-- const osg::Geode::DrawableList& drawable_list = child_geode->getDrawableList();
-- for( auto it_drawables = drawable_list.begin(); it_drawables != drawable_list.end(); ++it_drawables )
-+ for( int i=0; i < child_geode->getNumDrawables(); ++i )
- {
-- osg::Drawable* drawable = ( *it_drawables );
-+ const osg::Drawable* drawable = child_geode->getDrawable(i);
- const osg::Geometry* child_gemetry = dynamic_cast<const osg::Geometry*>( drawable );
- if( !child_gemetry )
- {
-diff -Naur IfcPlusPlus.orig/IfcPlusPlus/src/ifcpp/geometry/GeomUtils.h IfcPlusPlus/IfcPlusPlus/src/ifcpp/geometry/GeomUtils.h
---- IfcPlusPlus.orig/IfcPlusPlus/src/ifcpp/geometry/GeomUtils.h 2016-05-03 22:48:45.167336967 +0200
-+++ IfcPlusPlus/IfcPlusPlus/src/ifcpp/geometry/GeomUtils.h 2016-05-03 22:59:51.353727925 +0200
-@@ -1223,10 +1223,9 @@
- continue;
- }
- set_applied.insert( child_geode );
-- const osg::Geode::DrawableList& drawable_list = child_geode->getDrawableList();
-- for( osg::Geode::DrawableList::const_iterator it_drawables = drawable_list.begin(); it_drawables != drawable_list.end(); ++it_drawables )
-+ for( int i=0; i < child_geode->getNumDrawables(); ++i )
- {
-- osg::Drawable* drawable = ( *it_drawables );
-+ osg::Drawable* drawable = child_geode->getDrawable(i);
- osg::Geometry* child_geometry = dynamic_cast<osg::Geometry*>( drawable );
- if( !child_geometry )
- {