Hi~ warning *C6246*: Local declaration of <variable> hides declaration of same name in outer scope. Additional Information: See previous declaration at <location>.
This warning indicates that two declarations have the same name at local scope. The name at outer scope is hidden by the declaration at the inner scope. Any intended use of the outer scope declaration will result in the use of local declaration. OSG 2.3.4 UpdateVisitor #91 osg::NodeCallback* *callback* = geode.getUpdateCallback(); if (callback) (*callback)(&geode,this); // Call the app callbacks on the drawables. for(unsigned int i=0;i<geode.getNumDrawables();++i) { osg::Drawable::UpdateCallback* *callback* = geode.getDrawable(i)->getUpdateCallback(); if (callback) callback->update(this,geode.getDrawable(i)); handle_callbacks(geode.getDrawable(i)->getStateSet()); }
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org