diff options
| author | Juan Linietsky | 2015-04-08 20:34:06 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-04-08 20:34:06 -0300 |
| commit | dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6 (patch) | |
| tree | 768cdd9944fd63e859019203f3c6edd4ba33efc6 /tools/editor/plugins/particles_editor_plugin.cpp | |
| parent | e18c6ef63bb57290b023fde01391f8bdcdfe5aed (diff) | |
| parent | 59692d9012a320014366d3dcecac645a64a4d5f2 (diff) | |
| download | godot-dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6.tar.gz godot-dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6.tar.zst godot-dd12bd406e0c0b0c18047dcaf6a9e5bac95f1ee6.zip | |
Merge pull request #1654 from TheHX/fix_editor_dialog
Changed popup_centered by popup_centered_minsize in editor dialogs
Diffstat (limited to 'tools/editor/plugins/particles_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/particles_editor_plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/plugins/particles_editor_plugin.cpp b/tools/editor/plugins/particles_editor_plugin.cpp index ebb45bc31..a3032a73d 100644 --- a/tools/editor/plugins/particles_editor_plugin.cpp +++ b/tools/editor/plugins/particles_editor_plugin.cpp @@ -58,7 +58,7 @@ void ParticlesEditor::_node_selected(const NodePath& p_path){ if (!vi) { err_dialog->set_text("Node does not contain geometry."); - err_dialog->popup_centered(Size2(300,100)); + err_dialog->popup_centered_minsize(); return; } @@ -67,7 +67,7 @@ void ParticlesEditor::_node_selected(const NodePath& p_path){ if (geometry.size()==0) { err_dialog->set_text("Node does not contain geometry (faces)."); - err_dialog->popup_centered(Size2(300,100)); + err_dialog->popup_centered_minsize(); return; } @@ -219,7 +219,7 @@ void ParticlesEditor::_generate_emission_points() { if (!triangle_area_map.size() || area_accum==0) { err_dialog->set_text("Faces contain no area!"); - err_dialog->popup_centered(Size2(300,100)); + err_dialog->popup_centered_minsize(); return; } @@ -249,7 +249,7 @@ void ParticlesEditor::_generate_emission_points() { if (gcount==0) { err_dialog->set_text("No Faces!"); - err_dialog->popup_centered(Size2(300,100)); + err_dialog->popup_centered_minsize(); return; } |
