Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_skin.c
| Show First 20 Lines • Show All 1,865 Lines • ▼ Show 20 Lines | modifier_setError( | ||||
| &smd->modifier, | &smd->modifier, | ||||
| "No valid root vertex found (you need one per mesh island you want to skin)"); | "No valid root vertex found (you need one per mesh island you want to skin)"); | ||||
| } | } | ||||
| if (!bm) { | if (!bm) { | ||||
| return NULL; | return NULL; | ||||
| } | } | ||||
| result = BKE_mesh_from_bmesh_for_eval_nomain(bm, NULL); | result = BKE_mesh_from_bmesh_for_eval_nomain(bm, NULL, origmesh); | ||||
| BM_mesh_free(bm); | BM_mesh_free(bm); | ||||
| result->runtime.cd_dirty_vert |= CD_MASK_NORMAL; | result->runtime.cd_dirty_vert |= CD_MASK_NORMAL; | ||||
| skin_set_orig_indices(result); | skin_set_orig_indices(result); | ||||
| return result; | return result; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines | |||||