Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_300.c
| Show First 20 Lines • Show All 2,172 Lines • ▼ Show 20 Lines | */ | |||||||||||||||||
| /* Keep this block, even when empty. */ | /* Keep this block, even when empty. */ | |||||||||||||||||
| FOREACH_NODETREE_BEGIN (bmain, ntree, id) { | FOREACH_NODETREE_BEGIN (bmain, ntree, id) { | |||||||||||||||||
| if (ntree->type != NTREE_CUSTOM) { | if (ntree->type != NTREE_CUSTOM) { | |||||||||||||||||
| version_node_tree_socket_id_delim(ntree); | version_node_tree_socket_id_delim(ntree); | |||||||||||||||||
| } | } | |||||||||||||||||
| } | } | |||||||||||||||||
| FOREACH_NODETREE_END; | FOREACH_NODETREE_END; | |||||||||||||||||
| LISTBASE_FOREACH (bScreen *, screen, &bmain->screens) { | ||||||||||||||||||
| LISTBASE_FOREACH (ScrArea *, area, &screen->areabase) { | ||||||||||||||||||
| LISTBASE_FOREACH (SpaceLink *, sl, &area->spacedata) { | ||||||||||||||||||
| if (sl->spacetype == SPACE_NODE) { | ||||||||||||||||||
| SpaceNode *snode = (SpaceNode *)sl; | ||||||||||||||||||
| ListBase *regionbase; | ||||||||||||||||||
| if (sl == area->spacedata.first) { | ||||||||||||||||||
| regionbase = &area->regionbase; | ||||||||||||||||||
| } | ||||||||||||||||||
| else { | ||||||||||||||||||
| regionbase = &sl->regionbase; | ||||||||||||||||||
| } | ||||||||||||||||||
HooglyBooglyUnsubmitted Not Done Inline Actions
HooglyBoogly: | ||||||||||||||||||
| if (snode->v2d.minzoom > 0.05f) { | ||||||||||||||||||
| snode->v2d.minzoom = 0.05f; | ||||||||||||||||||
| } | ||||||||||||||||||
HooglyBooglyUnsubmitted Not Done Inline ActionsThis v2d is deprecated, it shouldn't need versioning. HooglyBoogly: This `v2d` is deprecated, it shouldn't need versioning. | ||||||||||||||||||
| LISTBASE_FOREACH (ARegion *, region, regionbase) { | ||||||||||||||||||
| if (region->regiontype == RGN_TYPE_WINDOW) { | ||||||||||||||||||
| if (region->v2d.minzoom > 0.05f) { | ||||||||||||||||||
| region->v2d.minzoom = 0.05f; | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | ||||||||||||||||||
| } | } | |||||||||||||||||
| } | } | |||||||||||||||||