From 517f58be3cf52da5d22e739f2aa40a5b5142885a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 2 Aug 2018 13:36:22 +0200 Subject: Subsurf: Make uv boundaries easily extendible This replaces old single toggle option to subdivide UVs with an enum which can have more options. The usecase for this is to be compatible with other software. But we also might choose different subdivision type as default in the future. DNA and underlying code supports all possible options, but only the ones which are compatible with old subdivision code are currently exposes. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D3575 --- source/blender/render/intern/source/multires_bake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/render') diff --git a/source/blender/render/intern/source/multires_bake.c b/source/blender/render/intern/source/multires_bake.c index 0cb9fd7324b..05ccf234638 100644 --- a/source/blender/render/intern/source/multires_bake.c +++ b/source/blender/render/intern/source/multires_bake.c @@ -683,7 +683,7 @@ static void *init_heights_data(MultiresBakeRender *bkr, Image *ima) if (ss_lvl > 0) { smd.levels = smd.renderLevels = ss_lvl; - smd.flags |= eSubsurfModifierFlag_SubsurfUv; + smd.uv_smooth = SUBSURF_UV_SMOOTH_PRESERVE_CORNERS; if (bkr->simple) smd.subdivType = ME_SIMPLE_SUBSURF; -- cgit v1.2.3