diff options
| author | Aaron Franke <arnfranke@yahoo.com> | 2021-06-30 21:24:34 -0400 |
|---|---|---|
| committer | Aaron Franke <arnfranke@yahoo.com> | 2021-07-01 14:13:27 -0400 |
| commit | 2508fd05334c1766bb1ea9c1cd4be4cfcbf7c90d (patch) | |
| tree | d0d0661e69f743670071d51544b2027d3fc1dbb9 /scene/animation/animation_tree.cpp | |
| parent | 382ddd497a732812356fccbe9642d86848a4da9d (diff) | |
| download | redot-engine-2508fd05334c1766bb1ea9c1cd4be4cfcbf7c90d.tar.gz | |
Use PROPERTY_USAGE_NONE instead of 0 for no property usage
Also use const more often.
Diffstat (limited to 'scene/animation/animation_tree.cpp')
| -rw-r--r-- | scene/animation/animation_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp index 6fac70bdd5..1e07f83d09 100644 --- a/scene/animation/animation_tree.cpp +++ b/scene/animation/animation_tree.cpp @@ -385,7 +385,7 @@ void AnimationNode::_set_filters(const Array &p_filters) { void AnimationNode::_validate_property(PropertyInfo &property) const { if (!has_filter() && (property.name == "filter_enabled" || property.name == "filters")) { - property.usage = 0; + property.usage = PROPERTY_USAGE_NONE; } } |
