diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_screw.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_screw.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index a94b4834d18..93b5e36e5a4 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -215,7 +215,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, if (totlen != 0.0f) { float zero[3] = {0.0f, 0.0f, 0.0f}; - float cp[3]; + float cp[3]; screw_ofs = closest_to_line_v3(cp, mtx_tx[3], zero, axis_vec); } else { @@ -363,7 +363,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, */ vert_connect = MEM_mallocN(sizeof(ScrewVertConnect) * totvert, "ScrewVertConnect"); - //vert_connect= (ScrewVertConnect *) &medge_new[totvert]; /* skip the first slice of verts */ + //vert_connect = (ScrewVertConnect *) &medge_new[totvert]; /* skip the first slice of verts */ vc = vert_connect; /* Copy Vert Locations */ @@ -475,7 +475,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, /*printf("\t\tVERT: %i\n", lt_iter.v);*/ if (lt_iter.v_poin->flag) { /*printf("\t\t\tBreaking Found end\n");*/ - //endpoints[0]= endpoints[1]= -1; + //endpoints[0] = endpoints[1] = -1; ed_loop_closed = 1; /* circle */ break; } @@ -490,7 +490,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, screwvert_iter_step(<_iter); if (!lt_iter.v_poin) { /*printf("\t\t\tFound End Also Num %i\n", j);*/ - /*endpoints[j]= lt_iter.v_other;*/ /* other is still valid */ + /*endpoints[j] = lt_iter.v_other;*/ /* other is still valid */ break; } } @@ -732,7 +732,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, copy_v3_v3(mv_new->co, mv_new_base->co); /* only need to set these if using non cleared memory */ - /*mv_new->mat_nr= mv_new->flag= 0;*/ + /*mv_new->mat_nr = mv_new->flag = 0;*/ if (ltmd->ob_axis) { sub_v3_v3(mv_new->co, mtx_tx[3]); @@ -831,7 +831,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, } /* close the loop*/ - if (close) { + if (close) { if (do_flip) { ml_new[3].v = i1; ml_new[2].v = i2; |