Blender Git Commit Log

Git Commits -> Revision ca98aca

Revision ca98aca by Joshua Leung (GPencil_EditStrokes)
November 29, 2014, 11:08 (GMT)
Quick hacky fix for crash on undo (for Grease Pencil)

AnimData is not copied when making duplicating bGPdata for internal usage
(i.e. for the undo buffer); instead, the data was being shared between the
real copies and the undo buffer copies (to save memory - since otherwise
we'd have to have copies of all the animation data floating around).

The fix here clears these refs before trying to free these copies,
making sure that the data won't get freed incorrectly.

Commit Details:

Full Hash: ca98aca565774afc524b7b1ba505196574ce5091
Parent Commit: defd3a6
Lines Changed: +11, -1

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020