Cleanup: Make format

This commit is contained in:
Jeroen Bakker 2023-08-17 10:53:53 +02:00
parent 074f10470c
commit 826ebccb42
1 changed files with 3 additions and 3 deletions

View File

@ -1190,15 +1190,15 @@ static void match_slope_graph_keys(bAnimContext *ac, const float factor)
BLI_freelistN(&segments);
}
if(!all_segments_valid) {
if (factor >= 0){
if (!all_segments_valid) {
if (factor >= 0) {
WM_report(RPT_WARNING, "You need at least 2 keys to the right side of the selection.");
}
else {
WM_report(RPT_WARNING, "You need at least 2 keys to the left side of the selection.");
}
}
ANIM_animdata_update(ac, &anim_data);
ANIM_animdata_freelist(&anim_data);
}