aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/project_export.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-10-01 16:25:36 -0300
committerJuan Linietsky2015-10-01 16:25:36 -0300
commite055247b17dc9b9d7239b95da2207388d05fd770 (patch)
tree4ddb394e32888cc28a5713543c3a32fb8a2e37d0 /tools/editor/project_export.cpp
parent0840303a9c56f46b55c9f85ff0cc5938f9deb938 (diff)
downloadgodot-e055247b17dc9b9d7239b95da2207388d05fd770.tar.gz
godot-e055247b17dc9b9d7239b95da2207388d05fd770.tar.zst
godot-e055247b17dc9b9d7239b95da2207388d05fd770.zip
-Added ability to use cubic interpolation on image resize (little more quality on non-po2 resizing)
-Added ability for exporter to shrink images to non-integer values. Helps if you want to convert your game artwork from 1080->720 or similar
Diffstat (limited to '')
-rw-r--r--tools/editor/project_export.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/project_export.cpp b/tools/editor/project_export.cpp
index 9f871fd3a..6003b976a 100644
--- a/tools/editor/project_export.cpp
+++ b/tools/editor/project_export.cpp
@@ -1156,7 +1156,7 @@ ProjectExportDialog::ProjectExportDialog(EditorNode *p_editor) {
image_shrink = memnew( SpinBox );
image_shrink->set_min(1);
image_shrink->set_max(8);
- image_shrink->set_step(1);
+ image_shrink->set_step(0.1);
image_vb->add_margin_child("Shrink All Images:",image_shrink);
sections->add_child(image_vb);
@@ -1237,7 +1237,7 @@ ProjectExportDialog::ProjectExportDialog(EditorNode *p_editor) {
group_shrink->set_min(1);
group_shrink->set_max(8);
group_shrink->set_val(1);
- group_shrink->set_step(1);
+ group_shrink->set_step(0.001);
group_options->add_margin_child("Shrink By:",group_shrink);
group_shrink->connect("value_changed",this,"_group_changed");