Blender Git Loki

Git Commits -> Revision 9297019

September 14, 2016, 11:26 (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: 929701931d9aba38d588a295315a483e2b442ff4
Parent Commit: e5f49ef
Committed By: Sergey Sharybin
Lines Changed: +23, -0

1 Modified Path:

/source/blender/editors/gpencil/gpencil_undo.c (+23, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021