Skip to content

Commit

Permalink
Fix a bug - we need to start accumulating with a zero matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Moore committed Jan 4, 2009
1 parent b0626e8 commit a67b481
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synfig-core/trunk/src/synfig/valuenode_boneinfluence.cpp
Expand Up @@ -112,6 +112,7 @@ ValueNode_BoneInfluence::operator()(Time t)const
Vector vertex_setup((*vertex_setup_)(t).get(Vector()));

Matrix transform;
transform *= 0;
vector<ValueBase> bone_weight_list((*bone_weight_list_)(t).get_list());
Real total_weight = 0;
for (vector<ValueBase>::iterator iter = bone_weight_list.begin(); iter != bone_weight_list.end(); iter++)
Expand Down

0 comments on commit a67b481

Please sign in to comment.