diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-10-01 18:39:24 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-10-01 18:43:41 +0300 |
commit | 5b8503425a491f94f526d1f65cefea1599cafd92 (patch) | |
tree | a429b4fa652175e727e7cccd2eee1e164ceabf88 /source/blender/modifiers/intern/MOD_subsurf.c | |
parent | 958fc6944f75f51b9fe5b47f29ff82156b3c6286 (diff) |
Fix subdivision surface wrong for non-limit surface and subdivision level 1
Remove the workaround for T59395 that increases the minimal refinement to 2
to work around an OpenSubdiv bug. This bug appears to be fixed in the latest
OpenSubdiv version we are using.
Problem found by Piotr Ostrowski.
Ref D9076
Diffstat (limited to 'source/blender/modifiers/intern/MOD_subsurf.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_subsurf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c index f730ccf5e29..7efb9d77eb5 100644 --- a/source/blender/modifiers/intern/MOD_subsurf.c +++ b/source/blender/modifiers/intern/MOD_subsurf.c @@ -263,7 +263,6 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh * if (subdiv_settings.level == 0) { return result; } - BKE_subdiv_settings_validate_for_mesh(&subdiv_settings, mesh); SubsurfRuntimeData *runtime_data = subsurf_ensure_runtime(smd); Subdiv *subdiv = subdiv_descriptor_ensure(smd, &subdiv_settings, mesh); if (subdiv == NULL) { @@ -323,7 +322,6 @@ static void deformMatrices(ModifierData *md, if (subdiv_settings.level == 0) { return; } - BKE_subdiv_settings_validate_for_mesh(&subdiv_settings, mesh); SubsurfRuntimeData *runtime_data = subsurf_ensure_runtime(smd); Subdiv *subdiv = subdiv_descriptor_ensure(smd, &subdiv_settings, mesh); if (subdiv == NULL) { |