diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-26 22:12:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-26 22:12:01 +0400 |
commit | c956e5d2d92f8a687e6f884602a12adade7b6c09 (patch) | |
tree | c26ad34cad282c16ffda022efd57c2eb10d2619e /source/blender/modifiers/intern/MOD_explode.c | |
parent | 6bc7c30b9346e8a382de6a47cd4c14e6e134fc1d (diff) |
modified fix for "Fix [#30351] Solidify Modifier High Quality Normals fails." from r44464.
rather then recalc polygon normals - solidify is simple enough to just flip the normals of the copied faces, the rim faces normals are already re-calculated so copy them.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_explode.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_explode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_explode.c b/source/blender/modifiers/intern/MOD_explode.c index afcfcc396ee..89e47094108 100644 --- a/source/blender/modifiers/intern/MOD_explode.c +++ b/source/blender/modifiers/intern/MOD_explode.c @@ -183,7 +183,7 @@ static void createFacepa(ExplodeModifierData *emd, BLI_kdtree_free(tree); } -static int edgecut_get(EdgeHash *edgehash, int v1, int v2) +static int edgecut_get(EdgeHash *edgehash, unsigned int v1, unsigned int v2) { return GET_INT_FROM_POINTER(BLI_edgehash_lookup(edgehash, v1, v2)); } |