From 0c051f41b16af834ad8b1fb46682aeef16fc88d6 Mon Sep 17 00:00:00 2001 From: the-sink Date: Mon, 27 Feb 2023 09:03:56 -0800 Subject: [PATCH] Redraw 2d viewport when guides are cleared --- editor/plugins/canvas_item_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 75a444c877..d610f1b937 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -4558,6 +4558,7 @@ void CanvasItemEditor::_popup_callback(int p_op) { } undo_redo->add_undo_method(viewport, "queue_redraw"); undo_redo->commit_action(); + viewport->queue_redraw(); } } break;