Blender Git Loki

Git Commits -> Revision af8a54b

Revision af8a54b by Joshua Leung (master)
May 8, 2016, 12:53 (GMT)
Fix for potential bug with new GP Fill

While trying to track down why I still keep getting some random "extra" triangles
showing up when reloading files with fills, I noticed that there's an index mismatch
here that may cause problems in some rare cases:

There are "gps->totpoints" items in tmp_triangles, but there should only be
"gps->tot_triangles" triangles in the gps->triangles array. If for whatever reason
some of the triangles in tmp_triangles are invalid, this could have meant that
while a tmp_triangles candidate was skipped, a corresponding slot for a valid
triangle also got skipped.

Commit Details:

Full Hash: af8a54bd8dd40b9a9bdad60f6d58dc920dcd0b87
Parent Commit: f5ddcfe
Lines Changed: +5, -2

1 Modified Path:

/source/blender/editors/gpencil/drawgpencil.c (+5, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021