diff options
author | Hans Goudey <h.goudey@me.com> | 2022-01-31 03:11:20 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-31 03:11:20 +0300 |
commit | 79032a8513f2b0138398e5295b031267e00680fc (patch) | |
tree | 74292fae46e01e1038fa4486ef648dd327765835 /source/blender/modifiers/intern | |
parent | 23775f3914d6474fd73eff78429aaf3180f27dd7 (diff) |
Cleanup: Remove unused DerivedMesh flag
The value of this flag was never used.
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_normal_edit.c | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_uvwarp.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/modifiers/intern/MOD_normal_edit.c b/source/blender/modifiers/intern/MOD_normal_edit.c index 44846d28733..8b58b575d24 100644 --- a/source/blender/modifiers/intern/MOD_normal_edit.c +++ b/source/blender/modifiers/intern/MOD_normal_edit.c @@ -336,8 +336,6 @@ static void normalEditModifier_do_radial(NormalEditModifierData *enmd, if (do_polynors_fix && polygons_check_flip( mloop, nos, &mesh->ldata, mpoly, BKE_mesh_poly_normals_for_write(mesh), num_polys)) { - /* XXX TODO: is this still needed? */ - // mesh->dirty |= DM_DIRTY_TESS_CDLAYERS; /* We need to recompute vertex normals! */ BKE_mesh_normals_tag_dirty(mesh); } diff --git a/source/blender/modifiers/intern/MOD_uvwarp.c b/source/blender/modifiers/intern/MOD_uvwarp.c index f6c643f5bb4..552cf1d5d3b 100644 --- a/source/blender/modifiers/intern/MOD_uvwarp.c +++ b/source/blender/modifiers/intern/MOD_uvwarp.c @@ -233,9 +233,6 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh * settings.use_threading = (numPolys > 1000); BLI_task_parallel_range(0, numPolys, &data, uv_warp_compute, &settings); - /* XXX TODO: is this still needed? */ - // me_eval->dirty |= DM_DIRTY_TESS_CDLAYERS; - mesh->runtime.is_original = false; return mesh; |