Skip to content

Commit 0351a45

Browse files
svc-reach-platform-supportEvergreen
authored andcommitted
[Port] [2021.3] [2d] Fix Case UUM-90726
1 parent a6b5ac6 commit 0351a45

File tree

1 file changed

+2
-0
lines changed
  • Packages/com.unity.render-pipelines.universal/Editor/2D/ShapeEditor/EditorTool

1 file changed

+2
-0
lines changed

Packages/com.unity.render-pipelines.universal/Editor/2D/ShapeEditor/EditorTool/PathEditorTool.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,8 @@ void IDuringSceneGuiTool.DuringSceneGui(SceneView sceneView)
380380
{
381381
if (m_GUIState.eventType == EventType.Layout)
382382
m_Controller.ClearClosestPath();
383+
else if (m_GUIState.eventType == EventType.ValidateCommand)
384+
return;
383385

384386
m_RectSelector.OnGUI();
385387

0 commit comments

Comments
 (0)