Revision: 36722 http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36722 Author: joeedh Date: 2011-05-16 20:55:15 +0000 (Mon, 16 May 2011) Log Message: ----------- =bmesh= fixed curve editmode crash
Modified Paths: -------------- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_opdefines.c branches/bmesh/blender/source/blender/editors/curve/editcurve.c Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_opdefines.c =================================================================== --- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_opdefines.c 2011-05-16 20:48:14 UTC (rev 36721) +++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_opdefines.c 2011-05-16 20:55:15 UTC (rev 36722) @@ -27,7 +27,7 @@ for output slots, for single-type geometry slots, use the type name plus "out", (e.g. vertout), for double-type slots, use the two type names plus "out", (e.g. vertfaceout), for three-type slots, use geom. note that you can also -use more esohteric names (e.g. skirtout) do long as the comment next to the +use more esohteric names (e.g. skirtout) so long as the comment next to the slot definition tells you what types of elements are in it. */ Modified: branches/bmesh/blender/source/blender/editors/curve/editcurve.c =================================================================== --- branches/bmesh/blender/source/blender/editors/curve/editcurve.c 2011-05-16 20:48:14 UTC (rev 36721) +++ branches/bmesh/blender/source/blender/editors/curve/editcurve.c 2011-05-16 20:55:15 UTC (rev 36722) @@ -7006,10 +7006,9 @@ ED_curve_updateAnimPaths(obedit); } -static void *editCurve_to_undoCurve(void *UNUSED(edata), void *obe) +static void *editCurve_to_undoCurve(void *UNUSED(edata), void *obdata) { - Object *obedit= obe; - Curve *cu= (Curve*)obedit->data; + Curve *cu= obdata; ListBase *nubase= ED_curve_editnurbs(cu); UndoCurve *undoCurve; EditNurb *editnurb= cu->editnurb, tmpEditnurb; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs