coding style/readability fixes

This commit is contained in:
OpenSceneGraph git repository 2017-11-11 12:33:44 +00:00 committed by GitHub
parent ca5ce00783
commit b23cc72037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,8 @@ UpdateMorph::UpdateMorph(const UpdateMorph& apc,const osg::CopyOp& copyop) :
osg::Object(apc, copyop), osg::Object(apc, copyop),
osg::Callback(apc, copyop), osg::Callback(apc, copyop),
AnimationUpdateCallback<osg::NodeCallback>(apc, copyop) AnimationUpdateCallback<osg::NodeCallback>(apc, copyop)
{_targetNames=apc._targetNames; {
_targetNames=apc._targetNames;
} }
UpdateMorph::UpdateMorph(const std::string& name) : AnimationUpdateCallback<osg::NodeCallback>(name) UpdateMorph::UpdateMorph(const std::string& name) : AnimationUpdateCallback<osg::NodeCallback>(name)
@ -106,8 +107,6 @@ void UpdateMorph::operator()(osg::Node* node, osg::NodeVisitor* nv)
traverse(node,nv); traverse(node,nv);
} }
bool UpdateMorph::needLink() const bool UpdateMorph::needLink() const
{ {
// the idea is to return true if nothing is linked // the idea is to return true if nothing is linked