Skip to content

Commit

Permalink
change buildArmature api
Browse files Browse the repository at this point in the history
  • Loading branch information
akdcl committed Aug 5, 2013
1 parent b22f049 commit 8103298
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/model/ArmatureProxy.as
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ package model
_selectedSkinData = _armatureData.getSkinData(selectSkinName) || _armatureData.getSkinData(null);
}

armature = factory.buildArmature(armatureName, null, null, selectedSkinName);
armature = factory.buildArmature(armatureName, null, null, null, selectedSkinName);

if(_armatureData && _armatureData.boneDataList.length > 0)
{
Expand Down Expand Up @@ -459,7 +459,7 @@ package model
var animationName:String = lastAnimationState.name;

//
armature = factory.buildArmature(armatureName, null, selectedSkinName);
armature = factory.buildArmature(armatureName, null, null, null, selectedSkinName);

_armature.animation.gotoAndPlay(animationName, 0, -1);
lastAnimationState = _armature.animation.lastAnimationState;
Expand All @@ -477,7 +477,7 @@ package model
else
{
//
armature = factory.buildArmature(armatureName, null, selectedSkinName);
armature = factory.buildArmature(armatureName, null, null, null, selectedSkinName);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/view/ArmatureViewer.mxml
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@
return;
}
if(_boneRollOver && _boneRollOver != _boneSelected)
{
updateBoneHighlight(_boneRollOver, null);
Expand Down

0 comments on commit 8103298

Please sign in to comment.