coding style/readability fixes
This commit is contained in:
parent
ca5ce00783
commit
b23cc72037
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user