Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_290.c
| Show First 20 Lines • Show All 1,979 Lines • ▼ Show 20 Lines | #undef CU_2D | ||||
| cu->flag |= CU_3D; | cu->flag |= CU_3D; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| if (!MAIN_VERSION_ATLEAST(bmain, 293, 18)) { | if (!MAIN_VERSION_ATLEAST(bmain, 293, 18)) { | ||||
| FOREACH_NODETREE_BEGIN (bmain, ntree, id) { | FOREACH_NODETREE_BEGIN (bmain, ntree, id) { | ||||
| if (ntree->type == NTREE_GEOMETRY) { | if (ntree->type == NTREE_GEOMETRY) { | ||||
| version_node_socket_name(ntree, GEO_NODE_VOLUME_TO_MESH, "Grid", "Density"); | version_node_socket_name(ntree, GEO_NODE_LEGACY_VOLUME_TO_MESH, "Grid", "Density"); | ||||
| } | } | ||||
| } | } | ||||
| FOREACH_NODETREE_END; | FOREACH_NODETREE_END; | ||||
| if (!DNA_struct_elem_find(fd->filesdna, "bArmature", "float", "axes_position")) { | if (!DNA_struct_elem_find(fd->filesdna, "bArmature", "float", "axes_position")) { | ||||
| /* Convert the axes draw position to its old default (tip of bone). */ | /* Convert the axes draw position to its old default (tip of bone). */ | ||||
| LISTBASE_FOREACH (struct bArmature *, arm, &bmain->armatures) { | LISTBASE_FOREACH (struct bArmature *, arm, &bmain->armatures) { | ||||
| arm->axes_position = 1.0; | arm->axes_position = 1.0; | ||||
| ▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines | |||||