diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-25 05:00:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-25 05:08:18 +0300 |
commit | d42a23b31ac620e49f08bbf149139c56cd0d0d4e (patch) | |
tree | 41b5756801e8cc973e7a7cfc2fab51439e0f5dc4 /source/blender/editors/object/object_edit.c | |
parent | 6bb2912704ba23f13879affa075ea9d18211ba81 (diff) |
Cleanup: remove tessface loop from set-smooth function
Diffstat (limited to 'source/blender/editors/object/object_edit.c')
-rw-r--r-- | source/blender/editors/object/object_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c index 16d21a11e2b..12f7ecb89dd 100644 --- a/source/blender/editors/object/object_edit.c +++ b/source/blender/editors/object/object_edit.c @@ -1200,7 +1200,7 @@ static int shade_smooth_exec(bContext *C, wmOperator *op) } if (ob->type == OB_MESH) { - BKE_mesh_smooth_flag_set(ob, !clear); + BKE_mesh_smooth_flag_set(ob->data, !clear); BKE_mesh_batch_cache_dirty_tag(ob->data, BKE_MESH_BATCH_DIRTY_ALL); DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY); |