Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_300.cc
| Show First 20 Lines • Show All 3,692 Lines • ▼ Show 20 Lines | |||||
| if (!MAIN_VERSION_ATLEAST(bmain, 305, 1)) { | if (!MAIN_VERSION_ATLEAST(bmain, 305, 1)) { | ||||
| /* Reset edge visibility flag, since the base is meant to be "true" for original meshes. */ | /* Reset edge visibility flag, since the base is meant to be "true" for original meshes. */ | ||||
| LISTBASE_FOREACH (Mesh *, mesh, &bmain->meshes) { | LISTBASE_FOREACH (Mesh *, mesh, &bmain->meshes) { | ||||
| for (MEdge &edge : mesh->edges_for_write()) { | for (MEdge &edge : mesh->edges_for_write()) { | ||||
| edge.flag |= ME_EDGEDRAW; | edge.flag |= ME_EDGEDRAW; | ||||
| } | } | ||||
| } | } | ||||
| LISTBASE_FOREACH (bNodeTree *, ntree, &bmain->nodetrees) { | |||||
| if (ntree->type != NTREE_GEOMETRY) { | |||||
| continue; | |||||
| } | |||||
| version_node_socket_name(ntree, GEO_NODE_COLLECTION_INFO, "Geometry", "Instances"); | |||||
| } | |||||
| } | } | ||||
| /** | /** | ||||
| * Versioning code until next subversion bump goes here. | * Versioning code until next subversion bump goes here. | ||||
| * | * | ||||
| * \note Be sure to check when bumping the version: | * \note Be sure to check when bumping the version: | ||||
| * - "versioning_userdef.c", #blo_do_versions_userdef | * - "versioning_userdef.c", #blo_do_versions_userdef | ||||
| * - "versioning_userdef.c", #do_versions_theme | * - "versioning_userdef.c", #do_versions_theme | ||||
| * | * | ||||
| * \note Keep this message at the bottom of the function. | * \note Keep this message at the bottom of the function. | ||||
| */ | */ | ||||
| { | { | ||||
| /* Keep this block, even when empty. */ | /* Keep this block, even when empty. */ | ||||
| } | } | ||||
| } | } | ||||