You've already forked godot
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user