mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-25 01:01:15 +00:00
Merge pull request #309 from nathan-at-digitalfish/fix_mesh_batching
Fix mesh batching
This commit is contained in:
commit
c4e760e722
@ -571,6 +571,11 @@ FarSubdivisionTablesFactory<T,U>::Splice(FarMeshVector const &meshes, FarKernelB
|
||||
|
||||
batch._tableOffset += fvOffsets[i];
|
||||
|
||||
} else if (batch._kernelType == FarKernelBatch::CATMARK_QUAD_FACE_VERTEX or
|
||||
batch._kernelType == FarKernelBatch::CATMARK_TRI_QUAD_FACE_VERTEX) {
|
||||
|
||||
batch._tableOffset += F_IToffsets[i];
|
||||
|
||||
} else if (batch._kernelType == FarKernelBatch::CATMARK_EDGE_VERTEX or
|
||||
batch._kernelType == FarKernelBatch::LOOP_EDGE_VERTEX or
|
||||
batch._kernelType == FarKernelBatch::BILINEAR_EDGE_VERTEX) {
|
||||
|
Loading…
Reference in New Issue
Block a user