diff options
author | Jeroen Bakker <jbakker> | 2020-03-26 16:36:39 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2020-03-26 17:34:53 +0300 |
commit | 7ed3ebbc6e1f95203c050e683a140b7ac1e7b705 (patch) | |
tree | c784d8cc1e1e0954c6193e930228ba32fea29615 /source/blender/blenkernel/BKE_multires.h | |
parent | 2e8fb95e7c69274944ecb44b2b51f8b4307f88ae (diff) |
Fix T67888: Incorrect Wireframe After Applying SubSurf/MultiRes
Show control edges stores the control edges in the mesh which is
picked up by the draw manager. When applyng a subsurf (or multires) we
don't want that data present in the base mesh. Any rebuilding of the mesh
would overwrite the data anyway.
This patch introduces a new flag for applying modifiers
that can be checked to ignore storing display specific data in
the base mesh.
Reviewed By: Brecht van Lommel
Differential Revision: https://developer.blender.org/D7163
Diffstat (limited to 'source/blender/blenkernel/BKE_multires.h')
-rw-r--r-- | source/blender/blenkernel/BKE_multires.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_multires.h b/source/blender/blenkernel/BKE_multires.h index c805b5f53a6..fe5b8cff31c 100644 --- a/source/blender/blenkernel/BKE_multires.h +++ b/source/blender/blenkernel/BKE_multires.h @@ -197,7 +197,8 @@ void BKE_multires_subdiv_mesh_settings_init(struct SubdivToMeshSettings *mesh_se const struct Object *object, const struct MultiresModifierData *mmd, const bool use_render_params, - const bool ignore_simplify); + const bool ignore_simplify, + const bool ignore_control_edges); /* General helpers. */ |