Skip to content

Commit

Permalink
Allow animation of ValueNode_Bone.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Moore committed Jan 4, 2009
1 parent 27c70d7 commit 8566433
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions synfig-core/trunk/src/synfig/valuenode_animated.cpp
Expand Up @@ -48,6 +48,7 @@
#include "canvas.h"
#include "general.h"
#include "valuenode_animated.h"
#include "valuenode_bone.h"
#include "valuenode_const.h"
#include "exception.h"
#include "gradient.h"
Expand Down Expand Up @@ -1054,6 +1055,8 @@ synfig::ValueNode_Animated::create(ValueBase::Type type)

case ValueBase::TYPE_STRING:
return ValueNode_Animated::Handle(new _Constant<String>);
case ValueBase::TYPE_VALUENODE_BONE:
return ValueNode_Animated::Handle(new _Constant<ValueNode_Bone::LooseHandle>);
case ValueBase::TYPE_BONE:
return ValueNode_Animated::Handle(new _Constant<Bone>);
case ValueBase::TYPE_GRADIENT:
Expand Down

0 comments on commit 8566433

Please sign in to comment.