From 9a00735ac398a58b726f103b6cb00c28d50e4316 Mon Sep 17 00:00:00 2001 From: Eideren Date: Sat, 10 May 2025 19:59:05 +0200 Subject: [PATCH] fix: Brush selection in 2023.x being bypassed by unity's own scene picking --- .../Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plugins/Editor/Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs b/Plugins/Editor/Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs index e55c4ae..38f3737 100644 --- a/Plugins/Editor/Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs +++ b/Plugins/Editor/Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs @@ -1843,6 +1843,8 @@ public void HandleEvents(SceneView sceneView, Rect sceneRect) hoverOnBoundsEdge != -1)*/ { SelectionUtility.DoSelectionClick(sceneView); + // We're doing manual selection, make sure to eat the event otherwise unity will run its own MouseUp for selection logic + Event.current.Use(); } } mouseIsDragging = false;