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:
authorJeroen Bakker <jeroen@blender.org>2022-08-02 14:38:34 +0300
committerJeroen Bakker <jeroen@blender.org>2022-08-02 14:38:34 +0300
commit78ad9ebed3a55138c0a576c4200ab0fd6d8e3712 (patch)
treefa7c4a21b008b28b6bc2398cbe7dc0ef49ecad28 /source/blender/draw/intern/draw_cache_impl_mesh.cc
parent33d0b7c5bdd8bdbde0a3fd6e7982440c151e321b (diff)
Fix T99715: Only force optimal display during on cage editing.
This loosens the current implementation a bit to only force optimal display when editing on cage. It used to be any editing mode. Brings GPU based subdivision closer to the CPU version.
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_mesh.cc')
-rw-r--r--source/blender/draw/intern/draw_cache_impl_mesh.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.cc b/source/blender/draw/intern/draw_cache_impl_mesh.cc
index d3d9db13005..d1eb937d711 100644
--- a/source/blender/draw/intern/draw_cache_impl_mesh.cc
+++ b/source/blender/draw/intern/draw_cache_impl_mesh.cc
@@ -1893,6 +1893,7 @@ void DRW_mesh_batch_cache_create_requested(struct TaskGraph *task_graph,
ob->obmat,
true,
false,
+ do_cage,
ts,
use_hide);
}