Update curve animation data when loading UndoCurve -- fixes memory corruption
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 6 Dec 2010 17:49:57 +0000 (17:49 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 6 Dec 2010 17:49:57 +0000 (17:49 +0000)
commit59268ca715bf605554002952173bc5e691c0ea04
treeae9e386fc09e8f388561fb08b2f3ce898999f9de
parent2c7a2a6a419f5d73baa958238f64a91d51ee7fae
Update curve animation data when loading UndoCurve -- fixes memory corruption
when starting playback after undo-ing topology changes

The simpliest way was to change data at which undoCurve_to_editCurve and
editCurve_to_undoCurve works from curve to object. Maybe it's not very
cool, but still better than moving curve animation handlers outside of
editcurve module.
source/blender/editors/curve/editcurve.c