Skip to content
Snippets Groups Projects
Commit 40dd7088 authored by Léo Depoix's avatar Léo Depoix Committed by Jacques Lucke
Browse files

Fix T83337: boundary smooth input in subdivision surface node is inverted

Differential Revision: https://developer.blender.org/D9753
parent 5b73083d
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ static bNodeSocketTemplate geo_node_subdivision_surface_in[] = { ...@@ -25,7 +25,7 @@ static bNodeSocketTemplate geo_node_subdivision_surface_in[] = {
{SOCK_GEOMETRY, N_("Geometry")}, {SOCK_GEOMETRY, N_("Geometry")},
{SOCK_INT, N_("Level"), 1, 0, 0, 0, 0, 6}, {SOCK_INT, N_("Level"), 1, 0, 0, 0, 0, 6},
{SOCK_BOOLEAN, N_("Use Creases")}, {SOCK_BOOLEAN, N_("Use Creases")},
{SOCK_BOOLEAN, N_("Boundary Smooth")}, {SOCK_BOOLEAN, N_("Boundary Smooth"), true},
{SOCK_BOOLEAN, N_("Smooth UVs")}, {SOCK_BOOLEAN, N_("Smooth UVs")},
{-1, ""}, {-1, ""},
}; };
...@@ -76,7 +76,7 @@ static void geo_node_subdivision_surface_exec(GeoNodeExecParams params) ...@@ -76,7 +76,7 @@ static void geo_node_subdivision_surface_exec(GeoNodeExecParams params)
subdiv_settings.level = subdiv_level; subdiv_settings.level = subdiv_level;
subdiv_settings.vtx_boundary_interpolation = BKE_subdiv_vtx_boundary_interpolation_from_subsurf( subdiv_settings.vtx_boundary_interpolation = BKE_subdiv_vtx_boundary_interpolation_from_subsurf(
boundary_smooth); !boundary_smooth);
subdiv_settings.fvar_linear_interpolation = BKE_subdiv_fvar_interpolation_from_uv_smooth( subdiv_settings.fvar_linear_interpolation = BKE_subdiv_fvar_interpolation_from_uv_smooth(
smooth_uvs); smooth_uvs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment