Fix #120309: Remove from Vertex Group operator broken
This check for whether there is vertex group data was mistakenly
reversed in b52a071e7a.
This commit is contained in:
@@ -169,7 +169,7 @@ bool BKE_object_defgroup_clear(Object *ob, bDeformGroup *dg, const bool use_sele
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!mesh->deform_verts().data()) {
|
||||
if (mesh->deform_verts().data()) {
|
||||
const bool *select_vert = (const bool *)CustomData_get_layer_named(
|
||||
&mesh->vert_data, CD_PROP_BOOL, ".select_vert");
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user