Fixed a bug where applying a modifier to a Curve or Surface object did not

remove the modifier.
This commit is contained in:
Ben Batt
2006-08-30 09:23:36 +00:00
parent 653a35b267
commit f5e6f59dba

View File

@@ -1092,6 +1092,9 @@ static void modifiers_applyModifier(void *obv, void *mdv)
vertexCos = curve_getVertexCos(cu, &cu->nurb, &numVerts);
mti->deformVerts(md, ob, NULL, vertexCos, numVerts);
curve_applyVertexCos(cu, &cu->nurb, vertexCos);
converted = 1;
MEM_freeN(vertexCos);
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);