Fix #95400: Crash when running Euler Filter on baked Curves #104858

Merged
Christoph Lendenfeld merged 1 commits from ChrisLend/blender:fix-95400-euler-crash into main 2023-02-17 11:06:08 +01:00
1 changed files with 5 additions and 0 deletions

View File

@ -1880,6 +1880,11 @@ static bool euler_filter_single_channel(FCurve *fcu)
return false;
}
/* Skip baked FCurves. */
if (fcu->bezt == NULL) {
return false;
}
/* `prev` follows bezt, bezt = "current" point to be fixed. */
/* Our method depends on determining a "difference" from the previous vert. */
bool is_modified = false;