Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_300.c
| Show First 20 Lines • Show All 2,178 Lines • ▼ Show 20 Lines | */ | |||||||||||||||||
| } | } | |||||||||||||||||
| FOREACH_NODETREE_END; | FOREACH_NODETREE_END; | |||||||||||||||||
| LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) { | LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) { | |||||||||||||||||
| LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) { | LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) { | |||||||||||||||||
| LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) { | LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) { | |||||||||||||||||
| if (sl->spacetype == SPACE_SEQ) { | if (sl->spacetype == SPACE_SEQ) { | |||||||||||||||||
| ListBase *regionbase = (sl == area->spacedata.first) ? &area->regionbase : | ListBase *regionbase = (sl == area->spacedata.first) ? &area->regionbase : | |||||||||||||||||
| &sl->regionbase; | &sl->regionbase; | |||||||||||||||||
| LISTBASE_FOREACH (ARegion *, region, regionbase) { | LISTBASE_FOREACH (ARegion *, region, regionbase) { | |||||||||||||||||
| if (region->regiontype == RGN_TYPE_WINDOW) { | if (region->regiontype == RGN_TYPE_WINDOW) { | |||||||||||||||||
| region->v2d.min[1] = 1.0f; | region->v2d.min[1] = 1.0f; | |||||||||||||||||
| } | } | |||||||||||||||||
| } | } | |||||||||||||||||
| } | } | |||||||||||||||||
| } | } | |||||||||||||||||
HooglyBooglyUnsubmitted Not Done Inline Actions
HooglyBoogly: | ||||||||||||||||||
| } | } | |||||||||||||||||
| } | } | |||||||||||||||||
| /* Change minimum zoom to 0.05f in the node editor. */ | ||||||||||||||||||
Not Done Inline ActionsThis v2d is deprecated, it shouldn't need versioning. HooglyBoogly: This `v2d` is deprecated, it shouldn't need versioning. | ||||||||||||||||||
| LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) { | ||||||||||||||||||
| LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) { | ||||||||||||||||||
| LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) { | ||||||||||||||||||
| if (sl->spacetype == SPACE_NODE) { | ||||||||||||||||||
| ListBase *regionbase = (sl == area->spacedata.first) ? &area->regionbase : | ||||||||||||||||||
| &sl->regionbase; | ||||||||||||||||||
| LISTBASE_FOREACH (ARegion *, region, regionbase) { | ||||||||||||||||||
| if (region->regiontype == RGN_TYPE_WINDOW) { | ||||||||||||||||||
| if (region->v2d.minzoom > 0.05f) { | ||||||||||||||||||
| region->v2d.minzoom = 0.05f; | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | } | |||||||||||||||||
| } | } | |||||||||||||||||