Fixed compilation error in src/osgDB/FileUtils.cpp.
Added support for nested NodeCallbacks, allowing them to be chained together so that multiple operations can be applied.
This commit is contained in:
@@ -57,7 +57,7 @@ class TransformCallback : public osg::NodeCallback{
|
||||
}
|
||||
|
||||
// must continue subgraph traversal.
|
||||
nv->traverse(*node);
|
||||
traverse(node,nv);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -84,8 +84,7 @@ class TransformCallback : public osg::NodeCallback{
|
||||
}
|
||||
|
||||
// must continue subgraph traversal.
|
||||
nv->traverse(*node);
|
||||
|
||||
traverse(node,nv);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user