Skip to content

Commit

Permalink
Merge branch 'release/v0.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
nicloay committed May 23, 2014
2 parents 0bf88cc + c9d5455 commit 3be0a72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/UnitySpineImporter/Scripts/Editor/Util/SpineUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ public static void addSlotAnimationToClip(AnimationClip
foreach(KeyValuePair<string, SpineSlotAnimation> kvp in slotsAnimation){
string slotName = kvp.Key;
string defaultAttachment = spineData.slotDefaultAttachments[slotName];
if (string.IsNullOrEmpty(defaultAttachment))
continue;
SpineSlotAnimation slotAnimation = kvp.Value;
if (slotAnimation.attachment != null && slotAnimation.attachment.Count > 0){
Dictionary<string, AnimationCurve> curveByName = new Dictionary<string, AnimationCurve>();
Expand Down
2 changes: 2 additions & 0 deletions Assets/UnitySpineImporter/SharedScripts/Slot/Slot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public Slot (string bone, string slot, string attachment = null, Color32? color
}

public void hideAllAttachments(){
if (attachments == null)
return;
foreach(Attachment a in attachments){
a.gameObject.SetActive(false);
}
Expand Down

0 comments on commit 3be0a72

Please sign in to comment.