Removed Geometry::fixDeprecatedData() as it won't work on const Geometry

This commit is contained in:
Robert Osfield
2013-06-26 08:53:56 +00:00
parent 36f48f2227
commit b70dfd40aa

View File

@@ -49,8 +49,6 @@ public:
_normalBinding(osg::Geometry::BIND_OFF),
_mesh(0)
{
if (geo->containsDeprecatedData()) geom->fixDeprecatedData();
_normalBinding = geo->getNormalBinding();
if (!geo->getNormalArray() || geo->getNormalArray()->getNumElements()==0)
{