Browse Source

Spline: fix draw handles

LeoVgr 9 tháng trước cách đây
mục cha
commit
3256075691
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      hrt/prefab/l3d/Spline.hx

+ 2 - 0
hrt/prefab/l3d/Spline.hx

@@ -816,6 +816,8 @@ class Spline extends hrt.prefab.Object3D {
 
 	function refreshHandles() {
 		clearHandles();
+		if (!editMode)
+			return;
 		for (p in points)
 			drawHandle(p);
 	}