1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Style: Apply clang-tidy fixes (superficial)

• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
This commit is contained in:
Thaddeus Crews
2024-06-21 11:21:18 -05:00
parent 89a311205f
commit bb5f390fb9
46 changed files with 126 additions and 102 deletions

View File

@@ -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) {