own error in recent knife-project changes.

This commit is contained in:
Campbell Barton
2013-03-16 16:10:27 +00:00
parent afe9970d48
commit a38dbb5eac

View File

@@ -70,6 +70,9 @@ static LinkNode *knifeproject_poly_from_object(ARegion *ar, Scene *scene, Object
dm = CDDM_from_curve(ob);
dm_needsFree = true;
}
else {
dm = NULL;
}
if (dm) {
ListBase nurbslist = {NULL, NULL};