소스 검색

Fix curve duration on emitter instance

Jed 4 년 전
부모
커밋
3980c5561e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {