Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_screw.c
| Show First 20 Lines • Show All 230 Lines • ▼ Show 20 Lines | static Mesh *applyModifier( | ||||
| unsigned int edge_offset; | unsigned int edge_offset; | ||||
| MPoly *mpoly_orig, *mpoly_new, *mp_new; | MPoly *mpoly_orig, *mpoly_new, *mp_new; | ||||
| MLoop *mloop_orig, *mloop_new, *ml_new; | MLoop *mloop_orig, *mloop_new, *ml_new; | ||||
| MEdge *medge_orig, *med_orig, *med_new, *med_new_firstloop, *medge_new; | MEdge *medge_orig, *med_orig, *med_new, *med_new_firstloop, *medge_new; | ||||
| MVert *mvert_new, *mvert_orig, *mv_orig, *mv_new, *mv_new_base; | MVert *mvert_new, *mvert_orig, *mv_orig, *mv_new, *mv_new_base; | ||||
| Object *ob_axis = DEG_get_evaluated_object(ctx->depsgraph, ltmd->ob_axis); | Object *ob_axis = ltmd->ob_axis; | ||||
| ScrewVertConnect *vc, *vc_tmp, *vert_connect = NULL; | ScrewVertConnect *vc, *vc_tmp, *vert_connect = NULL; | ||||
| const char mpoly_flag = (ltmd->flag & MOD_SCREW_SMOOTH_SHADING) ? ME_SMOOTH : 0; | const char mpoly_flag = (ltmd->flag & MOD_SCREW_SMOOTH_SHADING) ? ME_SMOOTH : 0; | ||||
| /* don't do anything? */ | /* don't do anything? */ | ||||
| if (!totvert) | if (!totvert) | ||||
| return BKE_mesh_new_nomain_from_template(mesh, 0, 0, 0, 0, 0); | return BKE_mesh_new_nomain_from_template(mesh, 0, 0, 0, 0, 0); | ||||
| ▲ Show 20 Lines • Show All 914 Lines • Show Last 20 Lines | |||||