[osg-users] issue with 3ds model after upgrading to 3.5.5

Marc Helbling marc.d.helbling at gmail.com
Fri Feb 10 05:06:40 PST 2017


Could you try the following patch?


Code:
diff --git a/src/osgPlugins/3ds/ReaderWriter3DS.cpp b/src/osgPlugins/3ds/ReaderWriter3DS.cpp
index 9aa4a9d31..3c1d89c20 100644
--- a/src/osgPlugins/3ds/ReaderWriter3DS.cpp
+++ b/src/osgPlugins/3ds/ReaderWriter3DS.cpp
@@ -619,7 +619,7 @@ osg::Node* ReaderWriter3DS::ReaderObject::processNode(StateSetMap& drawStateMap,
         {
             // add our geometry to group (where our children already are)
             // creates geometry under modifier node
-            processMesh(drawStateMap,group,mesh,meshAppliedMatPtr);
+            processMesh(drawStateMap,meshTransform,mesh,meshAppliedMatPtr);
             return group;
         }




I noted some issues when updating OSG a few months ago; reverting this line fixed the issue I had. If it solves your issue, I'll open a PR.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70141#70141








More information about the osg-users mailing list