Bugfix and code cleanup: use better types for faceFlags in CCGDM.
authorNicholas Bishop <nicholasbishop@gmail.com>
Tue, 6 Mar 2012 00:17:03 +0000 (00:17 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Tue, 6 Mar 2012 00:17:03 +0000 (00:17 +0000)
commitc729d6a87b5e5bb6b2b6e2094668fab194493a23
treecda7d8f12075067a6e046d81228e08a8993bce5f
parent0114d78c33edfaef5bc412eefcb5d52a0a6823b0
Bugfix and code cleanup: use better types for faceFlags in CCGDM.

Previously this was just a character array that stored face/poly flags
and mat_nr. Since mat_nr should be a short, this would have truncated
for higher values.

Replaced with a new DMFaceFlags struct.
source/blender/blenkernel/BKE_subsurf.h
source/blender/blenkernel/intern/subsurf_ccg.c