Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_300.c
| Show First 20 Lines • Show All 2,729 Lines • ▼ Show 20 Lines | FOREACH_NODETREE_BEGIN (bmain, ntree, id) { | ||||
| data->mode = GEO_NODE_MERGE_BY_DISTANCE_MODE_ALL; | data->mode = GEO_NODE_MERGE_BY_DISTANCE_MODE_ALL; | ||||
| node->storage = data; | node->storage = data; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| FOREACH_NODETREE_END; | FOREACH_NODETREE_END; | ||||
| LISTBASE_FOREACH (bNodeTree *, ntree, &bmain->nodetrees) { | |||||
| if (ntree->type == NTREE_GEOMETRY) { | |||||
| version_node_input_socket_name( | |||||
| ntree, GEO_NODE_SUBDIVISION_SURFACE, "Crease", "Edge Crease"); | |||||
| } | |||||
| } | |||||
| } | } | ||||
| if (!MAIN_VERSION_ATLEAST(bmain, 302, 13)) { | if (!MAIN_VERSION_ATLEAST(bmain, 302, 13)) { | ||||
| /* Enable named attributes overlay in node editor. */ | /* Enable named attributes overlay in node editor. */ | ||||
| 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 *, space, &area->spacedata) { | LISTBASE_FOREACH (SpaceLink *, space, &area->spacedata) { | ||||
| if (space->spacetype == SPACE_NODE) { | if (space->spacetype == SPACE_NODE) { | ||||
| ▲ Show 20 Lines • Show All 276 Lines • Show Last 20 Lines | |||||