Blender Git Commit Log

Git Commits -> Revision 11b65b4

Revision 11b65b4 by Antonio Vazquez (master)
April 29, 2019, 14:24 (GMT)
GPencil: Improve Fill Tool speed (6 times faster) in complex files

There was a double loop when drawing the offscreen data for the fill tool. This loop did an exponential drawing, slowing a lot the process.

For example, one file was using 7.39 seconds and now use 1.20 or less to do the same process.

The fix is more noticeable with big files, reducing exponentially the time used by the tool. For very simple files the speed change can be unnoticeable.

Aso fixed a hidden bug with stroke opacity that it was unnoticeable due the double loop.

Commit Details:

Full Hash: 11b65b4ade618eff8fb6208ba3495729c2d3140a
Parent Commit: 98a717e
Lines Changed: +32, -9

1 Modified Path:

/source/blender/editors/gpencil/drawgpencil.c (+32, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021