소스 검색

Spline: fix on change not working

LeoVgr 9 달 전
부모
커밋
7d4c64a10b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hrt/prefab/l3d/Spline.hx

+ 1 - 1
hrt/prefab/l3d/Spline.hx

@@ -704,7 +704,7 @@ class Spline extends hrt.prefab.Object3D {
 			updateSpline(this);
 		});
 
-		ctx.properties.add(props, null, null);
+		ctx.properties.add(props, this, function(pname) {ctx.onChange(this, pname); });
 
 		refreshPointList(ctx);
 	}