Browse Source

Fix selection while edition the terrain

ShiroSmith 5 years ago
parent
commit
42e394dfe9
1 changed files with 1 additions and 0 deletions
  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;