Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_290.c
| Show First 20 Lines • Show All 1,654 Lines • ▼ Show 20 Lines | FOREACH_NODETREE_BEGIN (bmain, ntree, id) { | ||||
| tex->altitude *= 1000.0f; | tex->altitude *= 1000.0f; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| FOREACH_NODETREE_END; | FOREACH_NODETREE_END; | ||||
| } | } | ||||
| if (!MAIN_VERSION_ATLEAST(bmain, 293, 6)) { | |||||
| LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) { | |||||
| LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) { | |||||
| LISTBASE_FOREACH (SpaceLink *, space, &area->spacedata) { | |||||
| /* UV/Image Max resolution images in image editor. */ | |||||
| if (space->spacetype == SPACE_IMAGE) { | |||||
| SpaceImage *sima = (SpaceImage *)space; | |||||
| sima->iuser.flag |= IMA_SHOW_MAX_RESOLUTION; | |||||
| } | |||||
| /* Enable Outliner render visibilty column. */ | |||||
| else if (space->spacetype == SPACE_OUTLINER) { | |||||
| SpaceOutliner *space_outliner = (SpaceOutliner *)space; | |||||
| space_outliner->show_restrict_flags |= SO_RESTRICT_RENDER; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| /** | /** | ||||
| * 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_do_versions_userdef | * - "versioning_userdef.c", #blo_do_versions_userdef | ||||
| * - "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. */ | ||||
| /* UV/Image Max resolution images in image editor. */ | |||||
| LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) { | |||||
| LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) { | |||||
| LISTBASE_FOREACH (SpaceLink *, space, &area->spacedata) { | |||||
| if (space->spacetype == SPACE_IMAGE) { | |||||
| SpaceImage *sima = (SpaceImage *)space; | |||||
| sima->iuser.flag |= IMA_SHOW_MAX_RESOLUTION; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | } | ||||
HooglyBoogly: The commit should bump the file subversion so this isn't executed every time a file is loaded. | |||||
| } | } | ||||
The commit should bump the file subversion so this isn't executed every time a file is loaded.