Merge pull request #27330 from qarmin/fix_bones_not_showing_after_create
Show bones after creating
This commit is contained in:
commit
945f7f83d3
1 changed files with 2 additions and 0 deletions
|
@ -4182,6 +4182,7 @@ void CanvasItemEditor::_popup_callback(int p_op) {
|
||||||
if (!skeleton_show_bones)
|
if (!skeleton_show_bones)
|
||||||
skeleton_menu->get_popup()->activate_item(skeleton_menu->get_popup()->get_item_index(SKELETON_SHOW_BONES));
|
skeleton_menu->get_popup()->activate_item(skeleton_menu->get_popup()->get_item_index(SKELETON_SHOW_BONES));
|
||||||
}
|
}
|
||||||
|
_queue_update_bone_list();
|
||||||
viewport->update();
|
viewport->update();
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
|
@ -4201,6 +4202,7 @@ void CanvasItemEditor::_popup_callback(int p_op) {
|
||||||
if (!skeleton_show_bones)
|
if (!skeleton_show_bones)
|
||||||
skeleton_menu->get_popup()->activate_item(skeleton_menu->get_popup()->get_item_index(SKELETON_SHOW_BONES));
|
skeleton_menu->get_popup()->activate_item(skeleton_menu->get_popup()->get_item_index(SKELETON_SHOW_BONES));
|
||||||
}
|
}
|
||||||
|
_queue_update_bone_list();
|
||||||
viewport->update();
|
viewport->update();
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
|
|
Loading…
Reference in a new issue