Add folder-specific readmes

This commit is contained in:
Andrew Cassidy 2020-11-02 23:58:07 -08:00
parent 861cb5e62d
commit 07be2fe7b5

View File

@ -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);