Permalink
Browse files

Fixed typo

  • Loading branch information...
robertosfield committed Nov 13, 2017
1 parent 9c605ba commit 49a5fdbd1fd31f88b0f4cf554779a1a7e26e518a
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/osgWrappers/serializers/osgAnimation/BasicAnimationManager.cpp
@@ -15,7 +15,7 @@ struct BasicAnimationManagerIsplaying : public osgDB::MethodObject
osgAnimation::Animation* child = dynamic_cast<osgAnimation::Animation*>(inputParameters[0].get());
if (!child) return false;
osgAnimation::BasicAnimationManager* group = dynamic_cast<osgAnimation::BasicAnimationManager*>(reinterpret_cast<osg::Object*>(objectPtr));
id (group) outputParameters.push_back(new osg::BoolValueObject("return", group->isPlaying(child)));
if (group) outputParameters.push_back(new osg::BoolValueObject("return", group->isPlaying(child)));
return true;
}
};
@@ -28,7 +28,7 @@ struct BasicAnimationManagerfindAnimation : public osgDB::MethodObject
osgAnimation::Animation* child = dynamic_cast<osgAnimation::Animation*>(inputParameters[0].get());
if (!child) return false;
osgAnimation::BasicAnimationManager* group = dynamic_cast<osgAnimation::BasicAnimationManager*>(reinterpret_cast<osg::Object*>(objectPtr));
id (group) outputParameters.push_back(new osg::BoolValueObject("return",group->findAnimation(child)));
if (group) outputParameters.push_back(new osg::BoolValueObject("return",group->findAnimation(child)));
return true;
}
};
@@ -41,7 +41,7 @@ struct BasicAnimationManagerPlayanimation : public osgDB::MethodObject
osgAnimation::Animation* child = dynamic_cast<osgAnimation::Animation*>(inputParameters[0].get());
if (!child) return false;
osgAnimation::BasicAnimationManager* group = dynamic_cast<osgAnimation::BasicAnimationManager*>(reinterpret_cast<osg::Object*>(objectPtr));
id (group) group->playAnimation(child);
if (group) group->playAnimation(child);
return true;
}
};
@@ -54,7 +54,7 @@ struct BasicAnimationManagerStopanimation : public osgDB::MethodObject
osgAnimation::Animation* child = dynamic_cast<osgAnimation::Animation*>(inputParameters[0].get());
if (!child) return false;
osgAnimation::BasicAnimationManager* group = dynamic_cast<osgAnimation::BasicAnimationManager*>(reinterpret_cast<osg::Object*>(objectPtr));
id (group) group->stopAnimation(child);
if (group) group->stopAnimation(child);
return true;
}
};

0 comments on commit 49a5fdb

Please sign in to comment.