mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T66022: crash adding subdivision surface modifier to some meshes
This reverts commit 7c9f64d008:
"Fix T63766: Multiresolution behavior when using crease edge"
This commit is contained in:
parent
ab94926483
commit
ae6300a8b7
1 changed files with 4 additions and 1 deletions
|
|
@ -771,8 +771,11 @@ OpenSubdiv_EvaluatorInternal *openSubdiv_createEvaluatorInternal(
|
|||
}
|
||||
#endif
|
||||
// Generate bi-cubic patch table for the limit surface.
|
||||
// TODO(sergey): Ideally we would want to expose end-cap settings via
|
||||
// C-API to make it more generic. Currently it matches old Blender's
|
||||
// subsurf code.
|
||||
PatchTableFactory::Options patch_options(level);
|
||||
patch_options.SetEndCapType(PatchTableFactory::Options::ENDCAP_GREGORY_BASIS);
|
||||
patch_options.SetEndCapType(PatchTableFactory::Options::ENDCAP_BSPLINE_BASIS);
|
||||
patch_options.useInfSharpPatch = use_inf_sharp_patch;
|
||||
patch_options.generateFVarTables = has_face_varying_data;
|
||||
patch_options.generateFVarLegacyLinearPatches = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue