Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 5,046 Lines • ▼ Show 20 Lines | for (Object *ob = bmain->objects.first; ob; ob = ob->id.next) { | ||||
| if (fmd->domain != NULL) { | if (fmd->domain != NULL) { | ||||
| mul_v3_fl(fmd->domain->gravity, 9.81f); | mul_v3_fl(fmd->domain->gravity, 9.81f); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| if (!MAIN_VERSION_ATLEAST(bmain, 283, 16)) { | |||||
| /* Init SMAA threshold for grease pencil render. */ | |||||
| LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) { | |||||
| scene->grease_pencil_settings.smaa_threshold = 1.0f; | |||||
| } | |||||
| } | |||||
| /** | /** | ||||
| * 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: | ||||
| * - #do_versions_after_linking_280 in this file. | * - #do_versions_after_linking_280 in this file. | ||||
| * - "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. */ | ||||
| } | } | ||||
| } | } | ||||