Browse Source

Add folder-specific readmes

main
Andrew Cassidy 1 year ago
parent
commit
07be2fe7b5
  1. 5
      Editor/MeshPostProcessor.cs

5
Editor/MeshPostProcessor.cs

@ -204,12 +204,9 @@ namespace KSPTools
var target = (Transform) AnimationUtility.GetAnimatedObject(t.gameObject, b);
if (curve.length > 2) continue;
if (curve.length == 2 && !deleteList.Contains(target.gameObject))
if (curve.length == 2 && deleteList.Contains(target.gameObject))
{
continue;
//if (!Mathf.Approximately(curve[0].value, curve[1].value)) continue;
//if (!Mathf.Approximately(curve[0].value, 0.0f) && !Mathf.Approximately(curve[0].value, 1.0f)) continue;
}
AnimationUtility.SetEditorCurve(clip, b, null);

Loading…
Cancel
Save