aboutsummaryrefslogtreecommitdiff
path: root/core/io/resource_format_xml.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-03 00:38:16 -0300
committerJuan Linietsky2017-01-03 00:38:16 -0300
commit3fae505128d5bfdeec42244820d0b85d0408f2b7 (patch)
treedb2fb0036a0872bcfbc153eeb5447c53e0137369 /core/io/resource_format_xml.cpp
parent118eed485e8f928a5a0dab530ae93211afa10525 (diff)
downloadgodot-3fae505128d5bfdeec42244820d0b85d0408f2b7.tar.gz
godot-3fae505128d5bfdeec42244820d0b85d0408f2b7.tar.zst
godot-3fae505128d5bfdeec42244820d0b85d0408f2b7.zip
Diffstat (limited to 'core/io/resource_format_xml.cpp')
-rw-r--r--core/io/resource_format_xml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_format_xml.cpp b/core/io/resource_format_xml.cpp
index c90adf4f5..7bb9e2efb 100644
--- a/core/io/resource_format_xml.cpp
+++ b/core/io/resource_format_xml.cpp
@@ -2667,7 +2667,7 @@ void ResourceFormatSaverXMLInstance::_find_resources(const Variant& p_variant,bo
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);
@@ -2811,7 +2811,7 @@ Error ResourceFormatSaverXMLInstance::save(const String &p_path,const RES& p_res
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);