2
0
lviguier 1 жил өмнө
parent
commit
a600103dc0
1 өөрчлөгдсөн 1 нэмэгдсэн , 3 устгасан
  1. 1 3
      hide/view/FXEditor.hx

+ 1 - 3
hide/view/FXEditor.hx

@@ -1052,9 +1052,7 @@ class FXEditor extends FileView {
 
 	function addCurvesToCurveEditor(curves: Array<Curve>, events: Array<Dynamic>){
 		var rightPanel = element.find(".right-fx-animpanel").first();
-
-		if (this.curveEditor != null)
-			rightPanel.find(".hide-curve-editor").remove();
+		rightPanel.empty();
 
 		// Build new curve editor with all the required comps
 		this.curveEditor = new hide.comp.CurveEditor(this.undo, rightPanel);