mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Working multiple window support, including editor
This commit is contained in:
parent
f51fdc6eef
commit
4758057f20
105 changed files with 1956 additions and 1742 deletions
|
|
@ -59,7 +59,7 @@ void Skeleton2DEditor::_menu_option(int p_option) {
|
|||
|
||||
if (node->get_bone_count() == 0) {
|
||||
err_dialog->set_text(TTR("This skeleton has no bones, create some children Bone2D nodes."));
|
||||
err_dialog->popup_centered_minsize();
|
||||
err_dialog->popup_centered();
|
||||
return;
|
||||
}
|
||||
UndoRedo *ur = EditorNode::get_singleton()->get_undo_redo();
|
||||
|
|
@ -75,7 +75,7 @@ void Skeleton2DEditor::_menu_option(int p_option) {
|
|||
case MENU_OPTION_SET_REST: {
|
||||
if (node->get_bone_count() == 0) {
|
||||
err_dialog->set_text(TTR("This skeleton has no bones, create some children Bone2D nodes."));
|
||||
err_dialog->popup_centered_minsize();
|
||||
err_dialog->popup_centered();
|
||||
return;
|
||||
}
|
||||
UndoRedo *ur = EditorNode::get_singleton()->get_undo_redo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue