diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-09-25 00:18:02 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-09-25 23:51:54 +0300 |
commit | a3bb385ca0ba37bf1cdc1b74de9ce872b262fb95 (patch) | |
tree | 250974f326d38cf9bebec98ad5b79a2fb64add10 /source/blender/editors/mesh/mesh_data.c | |
parent | 7cc9998809359dead38bd20de851494e11ab3da1 (diff) |
Edit Mesh: Move Edit Mesh display settings to overlay's
This makes the Edit Mesh display settings common to all objects. They can
also be set differently per viewport.
Modifying extra data (seams, sharp edges etc...) will no longer set them
automaticaly visible.
Bumping version because we need to force set all extra draw options for
older files.
Diffstat (limited to 'source/blender/editors/mesh/mesh_data.c')
-rw-r--r-- | source/blender/editors/mesh/mesh_data.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index 3598262ecf4..438cbb8da91 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -798,8 +798,6 @@ static int mesh_customdata_custom_splitnormals_add_exec(bContext *C, wmOperator /* Tag edges as sharp according to smooth threshold if needed, to preserve autosmooth shading. */ if (me->flag & ME_AUTOSMOOTH) { BM_edges_sharp_from_angle_set(me->edit_btmesh->bm, me->smoothresh); - - me->drawflag |= ME_DRAWSHARP; } BM_data_layer_add(me->edit_btmesh->bm, data, CD_CUSTOMLOOPNORMAL); @@ -823,8 +821,6 @@ static int mesh_customdata_custom_splitnormals_add_exec(bContext *C, wmOperator me->smoothresh); MEM_freeN(polynors); - - me->drawflag |= ME_DRAWSHARP; } CustomData_add_layer(data, CD_CUSTOMLOOPNORMAL, CD_DEFAULT, NULL, me->totloop); |