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:
authorBastien Montagne <bastien@blender.org>2022-05-17 18:34:51 +0300
committerBastien Montagne <bastien@blender.org>2022-05-17 18:34:51 +0300
commitb3b5d4cabb9653b9e5ddb9650378da4dc4aaac20 (patch)
tree818b8472686e1e142b4bb6530fd112f34b61febc /source/blender/modifiers
parent8c9805fc628223984ad0c664b5a49b7f9eec0caa (diff)
parent83349294b12f904bc1295c53e0242ea92c593c93 (diff)
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_subsurf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c
index 571e564f583..4201bab0326 100644
--- a/source/blender/modifiers/intern/MOD_subsurf.c
+++ b/source/blender/modifiers/intern/MOD_subsurf.c
@@ -236,8 +236,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
* assigned at this stage of modifier stack evaluation. */
const bool is_editmode = (mesh->edit_mesh != NULL);
const int required_mode = BKE_subsurf_modifier_eval_required_mode(is_render_mode, is_editmode);
- if (BKE_subsurf_modifier_can_do_gpu_subdiv_ex(
- scene, ctx->object, mesh, smd, required_mode, false)) {
+ if (BKE_subsurf_modifier_can_do_gpu_subdiv(scene, ctx->object, mesh, smd, required_mode)) {
subdiv_cache_cpu_evaluation_settings(ctx, mesh, smd);
return result;
}