Fix versioning code after FCurves versioning not executed
There must not be any return directly in our versioning patches. It
would return from the entire versioning function.
Mistake in da95d1d851
.
As a result, when opening old files with animation data, the versioning
for the new collection color tagging wouldn't run, and all collections
would get the first color assigned.
This commit is contained in:
parent
c9c0f89307
commit
1a4fc6dcd6
|
@ -646,7 +646,7 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain)
|
|||
for (FCurve *fcu = act->curves.first; fcu; fcu = fcu->next) {
|
||||
/* Only need to fix Bezier curves with at least 2 keyframes. */
|
||||
if (fcu->totvert < 2 || fcu->bezt == NULL) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
do_versions_291_fcurve_handles_limit(fcu);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue