forked from mirror/openmw-tes3mp
Don't clone Drawable UpdateCallbacks twice
The Drawable copy constructor takes care of that already.
This commit is contained in:
parent
6b48acaf0e
commit
8360cccce7
1 changed files with 0 additions and 2 deletions
|
@ -81,8 +81,6 @@ namespace SceneUtil
|
|||
#endif
|
||||
|
||||
osg::Drawable* cloned = osg::clone(drawable, copyop);
|
||||
if (cloned->getUpdateCallback())
|
||||
cloned->setUpdateCallback(osg::clone(cloned->getUpdateCallback(), *this));
|
||||
return cloned;
|
||||
}
|
||||
if (dynamic_cast<const SceneUtil::RigGeometry*>(drawable))
|
||||
|
|
Loading…
Reference in a new issue