diff --git a/src/osgAnimation/UpdateCallback.cpp b/src/osgAnimation/UpdateCallback.cpp index a9c3ef460..9a7d1b3c2 100644 --- a/src/osgAnimation/UpdateCallback.cpp +++ b/src/osgAnimation/UpdateCallback.cpp @@ -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)