From e37d22ad275ce56de838d3c1849178948c6d2fb1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 9 Jan 2009 15:57:14 +0000 Subject: [PATCH] Fixed warning --- examples/osganimationskinning/osganimationskinning.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osganimationskinning/osganimationskinning.cpp b/examples/osganimationskinning/osganimationskinning.cpp index 4cf906254..628866232 100644 --- a/examples/osganimationskinning/osganimationskinning.cpp +++ b/examples/osganimationskinning/osganimationskinning.cpp @@ -199,7 +199,7 @@ int main (int argc, char* argv[]) keys0->push_back(osgAnimation::QuatKeyframe(6,rotate)); osgAnimation::QuatSphericalLinearSampler* sampler = new osgAnimation::QuatSphericalLinearSampler; sampler->setKeyframeContainer(keys0); - osgAnimation::AnimationUpdateCallback* cb = dynamic_cast(right0->getUpdateCallback()); + // osgAnimation::AnimationUpdateCallback* cb = dynamic_cast(right0->getUpdateCallback()); osgAnimation::QuatSphericalLinearChannel* channel = new osgAnimation::QuatSphericalLinearChannel(sampler); channel->setName("quaternion"); channel->setTargetName("right0"); @@ -216,7 +216,7 @@ int main (int argc, char* argv[]) osgAnimation::QuatSphericalLinearSampler* sampler = new osgAnimation::QuatSphericalLinearSampler; sampler->setKeyframeContainer(keys1); osgAnimation::QuatSphericalLinearChannel* channel = new osgAnimation::QuatSphericalLinearChannel(sampler); - osgAnimation::AnimationUpdateCallback* cb = dynamic_cast(right1->getUpdateCallback()); + //osgAnimation::AnimationUpdateCallback* cb = dynamic_cast(right1->getUpdateCallback()); channel->setName("quaternion"); channel->setTargetName("right1"); anim->addChannel(channel);