diff options
author | toger5 <toger5@hotmail.de> | 2017-08-22 22:28:13 +0200 |
---|---|---|
committer | toger5 <toger5@hotmail.de> | 2017-08-30 21:19:13 +0200 |
commit | c8448cb0ac7ca6562e2fc539ee2f791ccd3547c6 (patch) | |
tree | 36e95182f8c597472b5a31f79cef544d2a93d0d4 | |
parent | 6d41ceea992e7f6589ea83e4db80fe4fe342fbdb (diff) | |
download | redot-engine-c8448cb0ac7ca6562e2fc539ee2f791ccd3547c6.tar.gz |
moved 'scale import setting' into svg section
-rw-r--r-- | editor/import/resource_importer_texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp index 6de523736b..b0b8faf2db 100644 --- a/editor/import/resource_importer_texture.cpp +++ b/editor/import/resource_importer_texture.cpp @@ -199,7 +199,7 @@ void ResourceImporterTexture::get_import_options(List<ImportOption> *r_options, r_options->push_back(ImportOption(PropertyInfo(Variant::INT, "stream"), false)); r_options->push_back(ImportOption(PropertyInfo(Variant::INT, "size_limit", PROPERTY_HINT_RANGE, "0,4096,1"), 0)); r_options->push_back(ImportOption(PropertyInfo(Variant::BOOL, "detect_3d"), p_preset == PRESET_DETECT)); - r_options->push_back(ImportOption(PropertyInfo(Variant::REAL, "scale", PROPERTY_HINT_RANGE, "0.001,100,0.1"), 1.0)); + r_options->push_back(ImportOption(PropertyInfo(Variant::REAL, "svg/scale", PROPERTY_HINT_RANGE, "0.001,100,0.1"), 1.0)); } void ResourceImporterTexture::_save_stex(const Ref<Image> &p_image, const String &p_to_path, int p_compress_mode, float p_lossy_quality, Image::CompressMode p_vram_compression, bool p_mipmaps, int p_texture_flags, bool p_streamable, bool p_detect_3d, bool p_detect_srgb, bool p_force_rgbe, bool p_detect_normal, bool p_force_normal) { |