Blender Git Commit Log
Git Commits -> Revision 4b65662
Revision 4b65662 by Joshua Leung (master) September 7, 2016, 13:14 (GMT) |
Fix: GPencil drawing sessions now respect limits for maximum undo steps When drawing with Grease Pencil "continous drawing" for a long time (i.e. basically, drawing a very large number of strokes), it could be possible to cause lower-specced machines to run out of RAM and start swapping. This was because there was no limit on the number of undo states that the GP undo code was storing; since the undo states grow exponentially on each stroke (i.e. each stroke results in another undo state which contains all the existing strokes AND the newest stroke), this could cause issues when taken to the extreme. |
Commit Details:
Full Hash: 4b65662483a6fabdf4f7b2b8f68190aaec4e38c1
Parent Commit: 5b42e07
Lines Changed: +23, -0
1 Modified Path:
/source/blender/editors/gpencil/gpencil_undo.c (+23, -0) (Diff)