GP: Fix Onion Skin slow performance
authorAntonioya <blendergit@gmail.com>
Sun, 16 Dec 2018 11:19:20 +0000 (12:19 +0100)
committerAntonioya <blendergit@gmail.com>
Sun, 16 Dec 2018 11:19:20 +0000 (12:19 +0100)
commit1578ce46c57463984010d678b1988c78b20f7c74
treed182dee561635e4b3b889d6e805dc52b6a63aaf0
parent4488056f3d9644dc8eadd419bc727d2b4277d4fc
GP: Fix Onion Skin slow performance

The number of vertex for VBO was not calculated for onion skin and made the realloc of memory very slow.
source/blender/draw/engines/gpencil/gpencil_draw_utils.c