You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Clean up canvas item when changing state, closes #5977
(cherry picked from commit 950b205609)
This commit is contained in:
committed by
Rémi Verschelde
parent
f4d6e37c2f
commit
0120f0473f
@@ -349,6 +349,8 @@ void CanvasItemEditor::set_state(const Dictionary &p_state) {
|
||||
int idx = edit_menu->get_popup()->get_item_index(SNAP_USE_PIXEL);
|
||||
edit_menu->get_popup()->set_item_checked(idx, snap_pixel);
|
||||
}
|
||||
|
||||
viewport->update();
|
||||
}
|
||||
|
||||
void CanvasItemEditor::_add_canvas_item(CanvasItem *p_canvas_item) {
|
||||
|
||||
Reference in New Issue
Block a user