浏览代码

Fix selection while edition the terrain

ShiroSmith 5 年之前
父节点
当前提交
42e394dfe9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hide/prefab/terrain/TerrainEditor.hx

+ 1 - 0
hide/prefab/terrain/TerrainEditor.hx

@@ -753,6 +753,7 @@ class TerrainEditor {
 			};
 
 			interactive.onRelease = function(e) {
+				e.propagate = false;
 				var worldPos = getBrushPlanePos(s2d.mouseX, s2d.mouseY, ctx);
 				remainingDist = 0;
 				lastPos = null;