Merge pull request #309 from nathan-at-digitalfish/fix_mesh_batching

Fix mesh batching
This commit is contained in:
Manuel Kraemer 2014-05-30 12:50:14 -07:00
commit c4e760e722

View File

@ -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) {