ソースを参照

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) {
 			interactive.onRelease = function(e) {
+				e.propagate = false;
 				var worldPos = getBrushPlanePos(s2d.mouseX, s2d.mouseY, ctx);
 				var worldPos = getBrushPlanePos(s2d.mouseX, s2d.mouseY, ctx);
 				remainingDist = 0;
 				remainingDist = 0;
 				lastPos = null;
 				lastPos = null;