Browse Source

Fix curve duration on emitter instance

Jed 4 years ago
parent
commit
3980c5561e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hide/view/FXEditor.hx

+ 1 - 1
hide/view/FXEditor.hx

@@ -1158,7 +1158,7 @@ class FXEditor extends FileView {
 			}
 			curveEdit.xOffset = xOffset;
 			curveEdit.xScale = xScale;
-			if(isInstanceCurve(curve))
+			if(isInstanceCurve(curve) && curve.parent.to(hrt.prefab.fx.Emitter) == null)
 				curve.maxTime = 1.0;
 			curveEdit.curve = curve;
 			curveEdit.onChange = function(anim) {