diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-21 04:02:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-21 04:02:08 +0300 |
commit | 54c9557b8595cfd830d1491875a70f85e3f6658d (patch) | |
tree | 41af6a118332c8c9baec02c708c7994c33772541 /source/blender/editors/mesh/editmesh_lib.c | |
parent | 2a47383af5d8dae01336a4b46722255713833ca3 (diff) |
Solidify modifier for Durian (allow cloth sim on single layer and make solid after)
Mostly the same as the recently added editmode tool with some extras.
* Options to disable filling in the rim between inner and outer surface, since its faster not to detect this in cases where its not needed.
* Option to disable high quality normal calculation, mostly noticable when operating on building walls, not needed for cloth or more organic shapes.
* Option to disable 'even thickness', again, not needed in some cases.
Also options for creasing inner/outer and rim edges, need this for makign Sintels cloths solid since zero crease looks far too soft.
note:
* UVs and VCols etc are copied to the new skin however rim faces dont get the UVs or vcols set from the faces they are created from yet.
* Normals are assumed to be pointing outwards
* used patch from Uncle Entity as a template since it added the DNA and RNA entries but the actual modifier from the patch wasnt used.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_lib.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_lib.c b/source/blender/editors/mesh/editmesh_lib.c index 45244407909..1b90dbc3902 100644 --- a/source/blender/editors/mesh/editmesh_lib.c +++ b/source/blender/editors/mesh/editmesh_lib.c @@ -2409,7 +2409,7 @@ void EM_solidify(EditMesh *em, float dist) EditFace *efa; EditVert *eve; float *vert_angles= MEM_callocN(sizeof(float) * em->totvert * 2, "EM_solidify"); /* 2 in 1 */ - float *vert_accum= vert_accum= vert_angles + em->totvert; + float *vert_accum= vert_angles + em->totvert; float face_angles[4]; int i, j; |