Blender Git Commit Log

Git Commits -> Revision d40581a

Revision d40581a by Antonio Vazquez (master)
April 5, 2019, 09:26 (GMT)
GPencil: Improve drawing feeling in big files

When drawing in big files, the first points of the stroke were not smooth because the system was doing a copy of the depsgraph datablock.

Now, the depsgraph is not updated at the beginning and the feeling is far better, especially for big files.

To avoid the copy, the original datablock is used while drawing, because it's faster the lookup of the original data, than a full datablock copy.

Also some cleanup of the code.

Commit Details:

Full Hash: d40581a71492c9d488dd68bb7fbd004881f9113d
Parent Commit: b2e2db9
Lines Changed: +24, -16

2 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_engine.c (+13, -2) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+11, -14) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021