From 582ae0c12292c174e4a57840b5ae0e21f42ecfc5 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 18 Feb 2019 16:28:25 +0100 Subject: Fix crash toggling edit mode of curve with animation The issue was caused by original f-curves being re-allocated without informing dependency graph about this. Was reported in T61636#622757 --- source/blender/editors/include/ED_curve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include/ED_curve.h') diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h index cfae50139ea..b585dc766d7 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -82,7 +82,7 @@ void ED_text_to_object(struct bContext *C, struct Text *text, const bool spli void ED_curve_beztcpy(struct EditNurb *editnurb, struct BezTriple *dst, struct BezTriple *src, int count); void ED_curve_bpcpy(struct EditNurb *editnurb, struct BPoint *dst, struct BPoint *src, int count); -int ED_curve_updateAnimPaths(struct Curve *cu); +int ED_curve_updateAnimPaths(struct Main *bmain, struct Curve *cu); bool ED_curve_active_center(struct Curve *cu, float center[3]); -- cgit v1.2.3