瀏覽代碼

Spline: fix draw handles

LeoVgr 9 月之前
父節點
當前提交
3256075691
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);
 	}