farbrausch/fr_public — pull request #46 by wzman (2012-06-03 20:32:47+00:00)
Title: Chunks fix

Since face Select variable is sU8 - chunks op no longer works.

DivideInChunks calculation use as trick the Select variable to temporaly store index, with a range to -1..X (signed 32 bits). This trick no longer works since its a sU8.

I suggest this pull to fix chunks operator (without many changes and work) :

- Add a extended Faces structure (with a sF32 Select variable)
- temporaly copy Faces to this extended structure and compute chunk on it.
- after calculation copy the result into Faces and clear unused extended structure.