fix for regression in curve modifier (own fault)

This commit is contained in:
Campbell Barton 2012-05-22 09:00:34 +00:00
parent 7767239ac7
commit 40b7b9655a

@ -662,7 +662,8 @@ void curve_deform_verts(Scene *scene, Object *cuOb, Object *target,
use_vgroups = (dm->getVertData(dm, 0, CD_MDEFORMVERT) != NULL);
}
else {
use_vgroups = FALSE;
Mesh *me = target->data;
use_vgroups = (me->dvert != NULL);
}
}
else {
@ -807,7 +808,8 @@ void lattice_deform_verts(Object *laOb, Object *target, DerivedMesh *dm,
use_vgroups = (dm->getVertData(dm, 0, CD_MDEFORMVERT) != NULL);
}
else {
use_vgroups = FALSE;
Mesh *me = target->data;
use_vgroups = (me->dvert != NULL);
}
}
else {