mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Redraw 2d viewport when guides are cleared
(cherry picked from commit 0c051f41b1)
This commit is contained in:
parent
0cf5de8f19
commit
38c0ad7c6c
1 changed files with 1 additions and 0 deletions
|
|
@ -4556,6 +4556,7 @@ void CanvasItemEditor::_popup_callback(int p_op) {
|
|||
undo_redo->add_do_method(root, "remove_meta", "_edit_vertical_guides_");
|
||||
undo_redo->add_undo_method(root, "set_meta", "_edit_vertical_guides_", vguides);
|
||||
}
|
||||
undo_redo->add_do_method(viewport, "queue_redraw");
|
||||
undo_redo->add_undo_method(viewport, "queue_redraw");
|
||||
undo_redo->commit_action();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue