Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_290.c
| Show First 20 Lines • Show All 644 Lines • ▼ Show 20 Lines | for (bAction *act = bmain->actions.first; act; act = act->id.next) { | ||||
| if (fcu->totvert < 2 || fcu->bezt == NULL) { | if (fcu->totvert < 2 || fcu->bezt == NULL) { | ||||
| return; | return; | ||||
| } | } | ||||
| do_versions_291_fcurve_handles_limit(fcu); | do_versions_291_fcurve_handles_limit(fcu); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| if (!MAIN_VERSION_ATLEAST(bmain, 291, 3)) { | |||||
| LISTBASE_FOREACH (Collection *, collection, &bmain->collections) { | |||||
| collection->color_tag = COLLECTION_COLOR_NONE; | |||||
| } | |||||
| LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) { | |||||
| scene->master_collection->color_tag = COLLECTION_COLOR_NONE; | |||||
| } | |||||
| } | |||||
| /** | /** | ||||
| * Versioning code until next subversion bump goes here. | * Versioning code until next subversion bump goes here. | ||||
| * | * | ||||
| * \note Be sure to check when bumping the version: | * \note Be sure to check when bumping the version: | ||||
| * - "versioning_userdef.c", #BLO_version_defaults_userpref_blend | * - "versioning_userdef.c", #BLO_version_defaults_userpref_blend | ||||
| * - "versioning_userdef.c", #do_versions_theme | * - "versioning_userdef.c", #do_versions_theme | ||||
| * | * | ||||
| * \note Keep this message at the bottom of the function. | * \note Keep this message at the bottom of the function. | ||||
| */ | */ | ||||
| { | { | ||||
| /* Keep this block, even when empty. */ | /* Keep this block, even when empty. */ | ||||
| } | } | ||||
| } | } | ||||