You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Clean up canvas item when changing state, closes #5977
This commit is contained in:
@@ -375,6 +375,8 @@ void CanvasItemEditor::set_state(const Dictionary &p_state) {
|
||||
int idx = skeleton_menu->get_item_index(SKELETON_SHOW_BONES);
|
||||
skeleton_menu->set_item_checked(idx, skeleton_show_bones);
|
||||
}
|
||||
|
||||
viewport->update();
|
||||
}
|
||||
|
||||
void CanvasItemEditor::_add_canvas_item(CanvasItem *p_canvas_item) {
|
||||
|
||||
Reference in New Issue
Block a user