Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 3,481 Lines • ▼ Show 20 Lines | for (Scene *scene = bmain->scenes.first; scene; scene = scene->id.next) { | ||||
| } | } | ||||
| if (STREQ(view_settings->look, "Filmic - Base Contrast")) { | if (STREQ(view_settings->look, "Filmic - Base Contrast")) { | ||||
| STRNCPY(view_settings->look, "None"); | STRNCPY(view_settings->look, "None"); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /* Test that this works! */ | |||||
| DNA_sdna_alias_data_ensure(fd->filesdna); | |||||
| { | |||||
| int a = 0; | |||||
| if (DNA_struct_elem_find_alias(fd->filesdna, "Light", "float", "sun_angle")) { | |||||
| a = 1; | |||||
| } | |||||
| int b = 0; | |||||
| if (DNA_struct_elem_find(fd->filesdna, "Lamp", "float", "sun_angle")) { | |||||
| b = 1; | |||||
| } | |||||
| printf("Light/Lamp check: %d / %d\n", a, b); | |||||
| } | |||||
| { | { | ||||
| /* Versioning code until next subversion bump goes here. */ | /* Versioning code until next subversion bump goes here. */ | ||||
| } | } | ||||
| } | } | ||||