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 /core/io/resource_format_binary.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 'core/io/resource_format_binary.cpp')
-rw-r--r-- | core/io/resource_format_binary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp index 953192306f..5328bb68fe 100644 --- a/core/io/resource_format_binary.cpp +++ b/core/io/resource_format_binary.cpp @@ -1825,7 +1825,7 @@ void ResourceFormatSaverBinaryInstance::_find_resources(const Variant& p_variant for(List<PropertyInfo>::Element *E=property_list.front();E;E=E->next()) { - if (E->get().usage&PROPERTY_USAGE_STORAGE || (bundle_resources && E->get().usage&PROPERTY_USAGE_BUNDLE)) { + if (E->get().usage&PROPERTY_USAGE_STORAGE) { _find_resources(res->get(E->get().name)); } @@ -2028,7 +2028,7 @@ Error ResourceFormatSaverBinaryInstance::save(const String &p_path,const RES& p_ if (skip_editor && F->get().name.begins_with("__editor")) continue; - if (F->get().usage&PROPERTY_USAGE_STORAGE || (bundle_resources && F->get().usage&PROPERTY_USAGE_BUNDLE)) { + if (F->get().usage&PROPERTY_USAGE_STORAGE ) { Property p; p.name_idx=get_string_index(F->get().name); p.value=E->get()->get(F->get().name); |