Style: Apply clang-tidy fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
This commit is contained in:
parent
89a311205f
commit
bb5f390fb9
46 changed files with 126 additions and 102 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue