Removed the usage of assert to prevent associated compile warnings and to clean up code

This commit is contained in:
Robert Osfield
2009-01-06 19:09:50 +00:00
parent 5bf69c9cbb
commit 8745ec7d69
9 changed files with 14 additions and 28 deletions

View File

@@ -247,7 +247,6 @@ int main (int argc, char* argv[])
osg::ref_ptr<osg::Vec3Array> src = dynamic_cast<osg::Vec3Array*>(geom->getVertexArray());
geom->getOrCreateStateSet()->setMode(GL_LIGHTING, false);
geom->setDataVariance(osg::Object::DYNAMIC);
OSGANIMATION_ASSERT(src);
initVertexMap(root.get(), right0.get(), right1.get(), geom, src.get());