summaryrefslogtreecommitdiffstats
path: root/core/set.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2018-10-29 12:25:31 -0300
committerJuan Linietsky <juan@godotengine.org>2018-10-29 12:25:56 -0300
commit6cc116d4158dfac7afdd4485fd963662b6ff7023 (patch)
tree28f2c1501a80affef09157b3835f91b73d1a0a1c /core/set.h
parent35e4783f7bbec2e93e3364539af5ba0479a04b22 (diff)
downloadredot-engine-6cc116d4158dfac7afdd4485fd963662b6ff7023.tar.gz
Ability to revert any property, not just from inherited scenes or scripts.
Diffstat (limited to 'core/set.h')
-rw-r--r--core/set.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/set.h b/core/set.h
index 744019d5b4..59aa54128e 100644
--- a/core/set.h
+++ b/core/set.h
@@ -595,6 +595,7 @@ public:
return e;
}
+ inline bool empty() const { return _data.size_cache == 0; }
inline int size() const { return _data.size_cache; }
int calculate_depth() const {