Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/draw/intern/draw_cache_impl_subdivision.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_subdivision.cc b/source/blender/draw/intern/draw_cache_impl_subdivision.cc
index e0ec0e64ea2..c859a72b371 100644
--- a/source/blender/draw/intern/draw_cache_impl_subdivision.cc
+++ b/source/blender/draw/intern/draw_cache_impl_subdivision.cc
@@ -1942,7 +1942,9 @@ static bool draw_subdiv_create_requested_buffers(const Scene *scene,
return false;
}
- const bool optimal_display = (smd->flags & eSubsurfModifierFlag_ControlEdges);
+ /* Edges which do not come from coarse edges should not be drawn in edit mode, only in object
+ * mode when optimal display in turned off. */
+ const bool optimal_display = (smd->flags & eSubsurfModifierFlag_ControlEdges) || is_editmode;
draw_cache->bm = bm;
draw_cache->mesh = mesh_eval;