mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-14 16:01:08 +00:00
Merge pull request #1010 from barfowl/varying_patch_descriptor
Fix initialization of PatchTable's varying patch descriptor
This commit is contained in:
commit
968f6e001c
@ -446,6 +446,8 @@ PatchTableBuilder::PatchTableBuilder(
|
||||
_table->_varyingPrecisionIsDouble = _options.setPatchPrecisionDouble;
|
||||
_table->_faceVaryingPrecisionIsDouble = _options.setFVarPatchPrecisionDouble;
|
||||
|
||||
_table->_varyingDesc = PatchDescriptor(_patchBuilder->GetLinearPatchType());
|
||||
|
||||
// State and helper to support LegacyGregory arrays in the PatchTable:
|
||||
_requiresLegacyGregoryTables = !_refiner.IsUniform() &&
|
||||
(_options.GetEndCapType() == Options::ENDCAP_LEGACY_GREGORY);
|
||||
|
Loading…
Reference in New Issue
Block a user