|
|
@ -2,8 +2,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include <osg/StateSet>
|
|
|
|
#include <osg/StateSet>
|
|
|
|
|
|
|
|
|
|
|
|
#include <osgAnimation/Bone>
|
|
|
|
|
|
|
|
#include <osgAnimation/Skeleton>
|
|
|
|
|
|
|
|
#include <osgAnimation/MorphGeometry>
|
|
|
|
#include <osgAnimation/MorphGeometry>
|
|
|
|
#include <osgAnimation/RigGeometry>
|
|
|
|
#include <osgAnimation/RigGeometry>
|
|
|
|
|
|
|
|
|
|
|
@ -35,11 +33,6 @@ namespace SceneUtil
|
|
|
|
mUpdaterToOldPs[cloned] = updater->getParticleSystem(0);
|
|
|
|
mUpdaterToOldPs[cloned] = updater->getParticleSystem(0);
|
|
|
|
return cloned;
|
|
|
|
return cloned;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (dynamic_cast<const osgAnimation::Bone*>(node) || dynamic_cast<const osgAnimation::Skeleton*>(node))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return osg::clone(node, *this);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return osg::CopyOp::operator()(node);
|
|
|
|
return osg::CopyOp::operator()(node);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|