diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-18 18:28:25 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-18 18:29:04 +0300 |
commit | 582ae0c12292c174e4a57840b5ae0e21f42ecfc5 (patch) | |
tree | 62a5fe5a2c4a768c51bd6b5c5bd359adbcb84ea6 /source/blender/editors/include/ED_curve.h | |
parent | d02ad52b2de250fa371f664f1f2d08329e0b5a20 (diff) |
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
Diffstat (limited to 'source/blender/editors/include/ED_curve.h')
-rw-r--r-- | source/blender/editors/include/ED_curve.h | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |