Fix T101393: Vertex Crease operator does not create vertex crease layer
Typo in rBa8a454287a27 (created layer on edge data instead of vertex data). Maniphest Tasks: T101393 Differential Revision: https://developer.blender.org/D16079
This commit is contained in:
@@ -90,8 +90,8 @@ static void createTransMeshVertCData(bContext *UNUSED(C), TransInfo *t)
|
||||
cd_offset = CustomData_get_offset(&bm->vdata, CD_BWEIGHT);
|
||||
}
|
||||
else {
|
||||
if (!CustomData_has_layer(&bm->edata, CD_CREASE)) {
|
||||
BM_data_layer_add(bm, &bm->edata, CD_CREASE);
|
||||
if (!CustomData_has_layer(&bm->vdata, CD_CREASE)) {
|
||||
BM_data_layer_add(bm, &bm->vdata, CD_CREASE);
|
||||
}
|
||||
cd_offset = CustomData_get_offset(&bm->vdata, CD_CREASE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user