summaryrefslogtreecommitdiffstats
path: root/scene/animation/animation_tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/animation/animation_tree.cpp')
-rw-r--r--scene/animation/animation_tree.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp
index 2364032863..df6e4fed73 100644
--- a/scene/animation/animation_tree.cpp
+++ b/scene/animation/animation_tree.cpp
@@ -384,6 +384,14 @@ bool AnimationNode::is_filter_enabled() const {
return filter_enabled;
}
+void AnimationNode::set_closable(bool p_closable) {
+ closable = p_closable;
+}
+
+bool AnimationNode::is_closable() const {
+ return closable;
+}
+
bool AnimationNode::is_path_filtered(const NodePath &p_path) const {
return filter.has(p_path);
}