diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-26 16:08:04 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-26 16:08:04 +0300 |
commit | 280de3df07919d62a3d9ada4989342c3fc7a251f (patch) | |
tree | 81ae470db66352caa4bab66095ac86c089c6ba25 /source/blender/modifiers | |
parent | e4284d06ada4f3eeac9c19f987e8b2d8eff47e62 (diff) |
Multires: Use proper subdivision level for reshape
Apparently, part of code got lost last minute prior to push.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_multires.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_multires.c b/source/blender/modifiers/intern/MOD_multires.c index 8c055536834..18b6dc5d846 100644 --- a/source/blender/modifiers/intern/MOD_multires.c +++ b/source/blender/modifiers/intern/MOD_multires.c @@ -236,6 +236,7 @@ static Mesh *applyModifier_subdiv(ModifierData *md, if ((ctx->object->mode & OB_MODE_SCULPT) && !for_orco) { /* NOTE: CCG takes ownership over Subdiv. */ result = multires_as_ccg(mmd, ctx, mesh, subdiv); + result->runtime.subdiv_ccg_tot_level = mmd->totlvl; // BKE_subdiv_stats_print(&subdiv->stats); } else { |