diff --git a/source/blender/bmesh/intern/bmesh_opdefines.c b/source/blender/bmesh/intern/bmesh_opdefines.c index 20d7db78019..bbc99d09ad7 100644 --- a/source/blender/bmesh/intern/bmesh_opdefines.c +++ b/source/blender/bmesh/intern/bmesh_opdefines.c @@ -27,7 +27,7 @@ type name (e.g. edges). for double-type slots, use the two type names plus 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. */ diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index ddd20e2f0e0..ffcbad8229c 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -7006,10 +7006,9 @@ static void undoCurve_to_editCurve(void *ucu, void *UNUSED(edata), void *obe) 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;