Blender Git Loki
Git Commits -> Revision 2bd4978
Revision 2bd4978 by Joshua Leung (master) June 7, 2017, 15:23 (GMT) |
Fix: Pasting GP strokes files between files (or when the original colors were deleted) would crash The problem was that the strokes in the copy-paste buffer could be keeping dangling pointers to colors that were already freed. Therefore, this commit makes it so that when copying the strokes, we now make copies of the colors and put them in a hashtable beside the stroke buffer. This is convenient, as it saves us having to look up what colours need to be copied over each time when pasting. |
Commit Details:
Full Hash: 2bd49785f9d8bad39bd5687dfff022022cccc63f
Parent Commit: 7667040
Lines Changed: +42, -20
1 Modified Path:
/source/blender/editors/gpencil/gpencil_edit.c (+42, -20) (Diff)