Blender Git Commit Log

Git Commits -> Revision 6ac7b03

Revision 6ac7b03 by Bastien Montagne (master)
September 2, 2013, 17:14 (GMT)
Fix [#36636] Incorrect assignment of Smoothing Groups on export

In fact, smooth groups are supposed to be bitflags, not simply integer values (would be far too much simple!). This adds quite a bit of work, as with only 32 values, we can't just assign one to each group. Somewhat related to the "Four colors theorem"! ;)

Here we simply use the first available bit for current smooth group (i.e. first bit not used by any of the already defined contiguous groups).

Commit Details:

Full Hash: 6ac7b03b2c74ce00d2e5b4bed58355d243adaff8
SVN Revision: 59743
Parent Commit: 834e47d
Lines Changed: +72, -27

1 Modified Path:

/source/blender/blenkernel/intern/mesh.c (+72, -27) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021