aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/baked_light_editor_plugin.cpp
diff options
context:
space:
mode:
authorFranklin Sobrinho2015-04-08 14:02:13 -0300
committerFranklin Sobrinho2015-04-08 14:02:13 -0300
commit59692d9012a320014366d3dcecac645a64a4d5f2 (patch)
tree768cdd9944fd63e859019203f3c6edd4ba33efc6 /tools/editor/plugins/baked_light_editor_plugin.cpp
parente18c6ef63bb57290b023fde01391f8bdcdfe5aed (diff)
downloadgodot-59692d9012a320014366d3dcecac645a64a4d5f2.tar.gz
godot-59692d9012a320014366d3dcecac645a64a4d5f2.tar.zst
godot-59692d9012a320014366d3dcecac645a64a4d5f2.zip
Changed popup_centered by popup_centered_minsize in editor dialogs
Diffstat (limited to 'tools/editor/plugins/baked_light_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/baked_light_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/baked_light_editor_plugin.cpp b/tools/editor/plugins/baked_light_editor_plugin.cpp
index 0f02899dc..26524b243 100644
--- a/tools/editor/plugins/baked_light_editor_plugin.cpp
+++ b/tools/editor/plugins/baked_light_editor_plugin.cpp
@@ -180,7 +180,7 @@ void BakedLightEditor::_bake_pressed() {
ERR_FAIL_COND(!node);
if (node->get_baked_light().is_null()) {
err_dialog->set_text("BakedLightInstance does not contain a BakedLight resource.");
- err_dialog->popup_centered(Size2(350,70));
+ err_dialog->popup_centered_minsize();
button_bake->set_pressed(false);
return;
}
@@ -242,7 +242,7 @@ void BakedLightEditor::_bake_lightmaps() {
if (err) {
err_dialog->set_text("Error baking to lightmaps!\nMake sure that a bake has just\n happened and that lightmaps are\n configured. ");
- err_dialog->popup_centered(Size2(350,70));
+ err_dialog->popup_centered_minsize();
return;
}