summaryrefslogtreecommitdiffstats
path: root/scene/animation
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-07-28 17:47:12 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-07-28 17:47:12 +0200
commit88d9325065a3e00e9e168ffad4ff93e12455a357 (patch)
tree0359e590f4de49d2df785fcf365e120d7275782f /scene/animation
parent7aba10b1709e39b40a06fe6c4f5fa561b2fa50b6 (diff)
parente16808cd692a91e6ba35e637f67062e450dbdf45 (diff)
downloadredot-engine-88d9325065a3e00e9e168ffad4ff93e12455a357.tar.gz
Merge pull request #94859 from TokageItLab/unstorage-node-time-info
Make NodeTimeInfo be not stored in tscn to prevent AnimationTree version control contamination
Diffstat (limited to 'scene/animation')
-rw-r--r--scene/animation/animation_tree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp
index 69287478db..c5a6a99d07 100644
--- a/scene/animation/animation_tree.cpp
+++ b/scene/animation/animation_tree.cpp
@@ -46,9 +46,9 @@ void AnimationNode::get_parameter_list(List<PropertyInfo> *r_list) const {
}
}
- r_list->push_back(PropertyInfo(Variant::FLOAT, current_length, PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_READ_ONLY));
- r_list->push_back(PropertyInfo(Variant::FLOAT, current_position, PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_READ_ONLY));
- r_list->push_back(PropertyInfo(Variant::FLOAT, current_delta, PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_READ_ONLY));
+ r_list->push_back(PropertyInfo(Variant::FLOAT, current_length, PROPERTY_HINT_NONE, "", PROPERTY_USAGE_READ_ONLY));
+ r_list->push_back(PropertyInfo(Variant::FLOAT, current_position, PROPERTY_HINT_NONE, "", PROPERTY_USAGE_READ_ONLY));
+ r_list->push_back(PropertyInfo(Variant::FLOAT, current_delta, PROPERTY_HINT_NONE, "", PROPERTY_USAGE_READ_ONLY));
}
Variant AnimationNode::get_parameter_default_value(const StringName &p_parameter) const {