[Bf-blender-cvs] [c72770d1cb9] blender2.8: Subdiv: Return enumerator of proper type
Sergey Sharybin
noreply at git.blender.org
Fri Sep 28 10:14:25 CEST 2018
Commit: c72770d1cb9158fcf3f463d788722d089845b955
Author: Sergey Sharybin
Date: Fri Sep 28 10:13:18 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBc72770d1cb9158fcf3f463d788722d089845b955
Subdiv: Return enumerator of proper type
Was harmless, that code is never to be reached.
===================================================================
M source/blender/blenkernel/intern/subdiv.c
===================================================================
diff --git a/source/blender/blenkernel/intern/subdiv.c b/source/blender/blenkernel/intern/subdiv.c
index 5ebeb0d2fa0..b2736ed8f37 100644
--- a/source/blender/blenkernel/intern/subdiv.c
+++ b/source/blender/blenkernel/intern/subdiv.c
@@ -61,7 +61,7 @@ BKE_subdiv_fvar_interpolation_from_uv_smooth(int uv_smooth)
return SUBDIV_FVAR_LINEAR_INTERPOLATION_NONE;
}
BLI_assert(!"Unknown uv smooth flag");
- return SUBSURF_UV_SMOOTH_NONE;
+ return SUBDIV_FVAR_LINEAR_INTERPOLATION_ALL;
}
Subdiv *BKE_subdiv_new_from_converter(const SubdivSettings *settings,
More information about the Bf-blender-cvs
mailing list