From bee2462b3e650c733f0ccee22eae29f5ab705306 Mon Sep 17 00:00:00 2001 From: Fenrisul Date: Sat, 13 Sep 2014 20:18:33 -0700 Subject: [PATCH] [Bugfix] SpineUnity SkeletonAnimationInspector mistake from previous commit --- .../spine-unity/Editor/SkeletonAnimationInspector.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/spine-unity/Assets/spine-unity/Editor/SkeletonAnimationInspector.cs b/spine-unity/Assets/spine-unity/Editor/SkeletonAnimationInspector.cs index f8d29894e..b32b9ba44 100644 --- a/spine-unity/Assets/spine-unity/Editor/SkeletonAnimationInspector.cs +++ b/spine-unity/Assets/spine-unity/Editor/SkeletonAnimationInspector.cs @@ -63,14 +63,6 @@ public class SkeletonAnimationInspector : SkeletonRendererInspector { if(component.AnimationName != animationName.stringValue){ animationName.stringValue = currentState.Animation.Name; } - - if(loop.boolValue != currentState.Loop){ - loop.boolValue = currentState.Loop; - } - - if(timeScale.floatValue != currentState.TimeScale){ - timeScale.floatValue = currentState.TimeScale; - } } } @@ -102,6 +94,7 @@ public class SkeletonAnimationInspector : SkeletonRendererInspector { EditorGUILayout.PropertyField(loop); EditorGUILayout.PropertyField(timeScale); component.timeScale = Math.Max(component.timeScale, 0); + EditorGUILayout.Space(); if(!isPrefab){