Bugfix #5908
authorTon Roosendaal <ton@blender.org>
Sat, 3 Feb 2007 13:17:05 +0000 (13:17 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 3 Feb 2007 13:17:05 +0000 (13:17 +0000)
After conversion of Curve to Mesh, modifiers should be removed.

source/blender/src/editobject.c

index f9389b45d388d8639100dcb89dc71087692db0aa..f1eeeb3a661a92fb167dd588e993c7293f41e23e 100644 (file)
@@ -2496,6 +2496,8 @@ static void curvetomesh(Object *ob)
        if(dl==0) makeDispListCurveTypes(ob, 0);                /* force creation */
 
        nurbs_to_mesh(ob); /* also does users */
+       
+       object_free_modifiers(ob);
 }
 
 void convertmenu(void)