Blender Git Commit Log

Git Commits -> Revision 3319f80

Revision 3319f80 by Antonio Vazquez (master)
September 10, 2018, 18:24 (GMT)
GP: Fix performance problem with big files

During drawing, the depsgrah was tagged to update and this produced a full copy of the datablock. This tag was done in order to get the right data in drawing engine, but this added a great overhead while drawing and the response of the pen was not good.

Now, the depsgraph is not tagged and the drawing engine uses the original copy data of the buffer datablock. This is not a problem because only can draw in one window at time.

Commit Details:

Full Hash: 3319f80e034e9994826898c537722c6d664b35f5
Parent Commit: 89295c7
Lines Changed: +4, -10

2 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_draw_utils.c (+4, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+0, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021