diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-06-21 18:46:17 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-06-21 18:46:17 -0300 |
commit | b76143bfdee9ff0c21e1aac247567d2381dffa4d (patch) | |
tree | cc52843c767b62c61187e4f059a510e76bff75f3 /core | |
parent | b80946ee0dbb7c28021c55d2623a35e89fc972f4 (diff) |
Remove error messages
Diffstat (limited to 'core')
-rw-r--r-- | core/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/resource.cpp b/core/resource.cpp index f100f4447b..4cca73be5d 100644 --- a/core/resource.cpp +++ b/core/resource.cpp @@ -287,7 +287,7 @@ uint32_t Resource::hash_edited_version() const { for (List<PropertyInfo>::Element *E = plist.front(); E; E = E->next()) { - if (E->get().type == Variant::OBJECT && E->get().hint == PROPERTY_HINT_RESOURCE_TYPE) { + if (E->get().usage & PROPERTY_USAGE_STORAGE && E->get().type == Variant::OBJECT && E->get().hint == PROPERTY_HINT_RESOURCE_TYPE) { RES res = get(E->get().name); if (res.is_valid()) { hash = hash_djb2_one_32(res->hash_edited_version(), hash); |