Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_edgesplit.c
| Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | BM_ITER_MESH (e, &iter, bm, BM_EDGES_OF_MESH) { | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| BM_mesh_edgesplit(bm, false, true, false); | BM_mesh_edgesplit(bm, false, true, false); | ||||
| /* BM_mesh_validate(bm); */ /* for troubleshooting */ | /* BM_mesh_validate(bm); */ /* for troubleshooting */ | ||||
| result = BKE_mesh_from_bmesh_for_eval_nomain(bm, NULL); | result = BKE_mesh_from_bmesh_for_eval_nomain(bm, NULL, mesh); | ||||
| BM_mesh_free(bm); | BM_mesh_free(bm); | ||||
| result->runtime.cd_dirty_vert |= CD_MASK_NORMAL; | result->runtime.cd_dirty_vert |= CD_MASK_NORMAL; | ||||
| return result; | return result; | ||||
| } | } | ||||
| static void initData(ModifierData *md) | static void initData(ModifierData *md) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines | |||||