Blender Git Commit Log

Git Commits -> Revision 812b30d

Revision 812b30d by Antonio Vazquez (master)
October 16, 2019, 19:56 (GMT)
GPencil: Fix unreported performance issue with relative onion mode

When the relative mode was used, the calculation of the total number of vertices was not done and it was using the total number of vertices in the datablock. This worked for small files, but with complex files the time to allocate all the data was too long and the performance was very bad.

Now, for relative mode the real number of vertex is calculated.

Also fixed the same problem when onion and multiedit is enabled.

Commit Details:

Full Hash: 812b30daf582c03ff6ed89b85e783f3fcb7bb723
Parent Commit: 7e78fbf
Lines Changed: +51, -12

1 Modified Path:

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