diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-03 00:38:16 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-03 00:38:16 -0300 |
commit | 3fae505128d5bfdeec42244820d0b85d0408f2b7 (patch) | |
tree | db2fb0036a0872bcfbc153eeb5447c53e0137369 /scene/resources/scene_format_text.cpp | |
parent | 118eed485e8f928a5a0dab530ae93211afa10525 (diff) | |
download | redot-engine-3fae505128d5bfdeec42244820d0b85d0408f2b7.tar.gz |
Begin modifying properties to make them more friendly to script and doc.
Diffstat (limited to 'scene/resources/scene_format_text.cpp')
-rw-r--r-- | scene/resources/scene_format_text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/scene_format_text.cpp b/scene/resources/scene_format_text.cpp index 8bbc6ff32b..af38bdd82b 100644 --- a/scene/resources/scene_format_text.cpp +++ b/scene/resources/scene_format_text.cpp @@ -1115,7 +1115,7 @@ void ResourceFormatSaverTextInstance::_find_resources(const Variant& p_variant,b PropertyInfo pi=I->get(); - if (pi.usage&PROPERTY_USAGE_STORAGE || (bundle_resources && pi.usage&PROPERTY_USAGE_BUNDLE)) { + if (pi.usage&PROPERTY_USAGE_STORAGE) { Variant v=res->get(I->get().name); _find_resources(v); @@ -1306,7 +1306,7 @@ Error ResourceFormatSaverTextInstance::save(const String &p_path,const RES& p_re if (skip_editor && PE->get().name.begins_with("__editor")) continue; - if (PE->get().usage&PROPERTY_USAGE_STORAGE || (bundle_resources && PE->get().usage&PROPERTY_USAGE_BUNDLE)) { + if (PE->get().usage&PROPERTY_USAGE_STORAGE) { String name = PE->get().name; Variant value = res->get(name); |