diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-06-21 11:21:18 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-04 12:11:14 -0600 |
commit | bb5f390fb9b466be35a5df7651323d7e66afca31 (patch) | |
tree | b40523f30f590353919c6f9a2923cfe0ca6620fc /editor/animation_track_editor.cpp | |
parent | 89a311205f20efd28faff8e4695bd1af730613ae (diff) | |
download | redot-engine-bb5f390fb9b466be35a5df7651323d7e66afca31.tar.gz |
Style: Apply `clang-tidy` fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
Diffstat (limited to 'editor/animation_track_editor.cpp')
-rw-r--r-- | editor/animation_track_editor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 77d21cb7b0..c210ad0761 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -6337,8 +6337,9 @@ bool AnimationTrackEditor::_is_track_compatible(int p_target_track_idx, Variant: } if (path_valid) { - if (is_source_bezier) + if (is_source_bezier) { p_source_value_type = Variant::FLOAT; + } return property_type == p_source_value_type; } else { if (animation->track_get_key_count(p_target_track_idx) > 0) { |