Ver Fonte

Spline: fix on change not working

LeoVgr há 9 meses atrás
pai
commit
7d4c64a10b
1 ficheiros alterados com 1 adições e 1 exclusões
  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);
 	}