Blender Git Commit Log

Git Commits -> Revision a174495

October 18, 2019, 12:43 (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: a174495d6a02e8247fa224aa2238684860ced3e1
Parent Commit: 7d32a77
Committed By: YimingWu
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