diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-10-13 12:32:59 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-10-13 16:03:39 +0400 |
commit | 116439ed91dd313fdc30c93b5d76807b7473ad39 (patch) | |
tree | 4d29516058e58721874959757e2de8c25341d032 /source/blender/makesdna/DNA_userdef_types.h | |
parent | 4eadc3801acda48e4c81c4417a11c11cf050cc21 (diff) |
Mesh calc smooth group: several fixes.
* Consider non-manifold edges as sharp, as in split normals handling.
* Consider edges from sharp polys as sharp!!!
* Fix returned number of groups (was off-by-one for non-bitflags grouping, could also
be wrong in case of id overflow).
Note about using sharp polys too to define groups: Only current use of this function
(Obj exporter) does not need that, because it does its own check for sharp faces.
However, we might reuse that func in other places in future (e.g. in custom split
normals area), so better to get a consistent behavior!
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
0 files changed, 0 insertions, 0 deletions