From Cedric Pinson, fix clone for UpdateTransform

This commit is contained in:
Cedric Pinson
2009-06-22 18:04:36 +00:00
parent bf8a5c1568
commit bf20382acc

View File

@@ -70,8 +70,8 @@ UpdateTransform::UpdateTransform(const UpdateTransform& apc,const osg::CopyOp& c
AnimationUpdateCallback(apc, copyop)
{
_euler = new osgAnimation::Vec3Target(apc._euler->getValue());
_position = new osgAnimation::Vec3Target(apc._euler->getValue());
_scale = new osgAnimation::Vec3Target(apc._euler->getValue());
_position = new osgAnimation::Vec3Target(apc._position->getValue());
_scale = new osgAnimation::Vec3Target(apc._scale->getValue());
}
UpdateTransform::UpdateTransform(const std::string& name) : AnimationUpdateCallback(name)