Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_290.c
| Show First 20 Lines • Show All 814 Lines • ▼ Show 20 Lines | if (!DNA_struct_find(fd->filesdna, "SpaceImageOverlay")) { | ||||
| if (space->spacetype == SPACE_IMAGE) { | if (space->spacetype == SPACE_IMAGE) { | ||||
| SpaceImage *sima = (SpaceImage *)space; | SpaceImage *sima = (SpaceImage *)space; | ||||
| sima->overlay.flag = SI_OVERLAY_SHOW_OVERLAYS; | sima->overlay.flag = SI_OVERLAY_SHOW_OVERLAYS; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /* UV/Image Max resolution images in image editor. */ | |||||
| if (!DNA_struct_find(fd->filesdna, "SpaceImageOverlay")) { | |||||
| 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; | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | } | ||||
| } | } | ||||