Removed Geometry::fixDeprecatedData() as it won't work on const Geometry
This commit is contained in:
@@ -49,8 +49,6 @@ public:
|
|||||||
_normalBinding(osg::Geometry::BIND_OFF),
|
_normalBinding(osg::Geometry::BIND_OFF),
|
||||||
_mesh(0)
|
_mesh(0)
|
||||||
{
|
{
|
||||||
if (geo->containsDeprecatedData()) geom->fixDeprecatedData();
|
|
||||||
|
|
||||||
_normalBinding = geo->getNormalBinding();
|
_normalBinding = geo->getNormalBinding();
|
||||||
if (!geo->getNormalArray() || geo->getNormalArray()->getNumElements()==0)
|
if (!geo->getNormalArray() || geo->getNormalArray()->getNumElements()==0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user