diff --git a/python/osd/subdivider.cpp b/python/osd/subdivider.cpp index a172cbfc..ef17a6a8 100644 --- a/python/osd/subdivider.cpp +++ b/python/osd/subdivider.cpp @@ -109,14 +109,14 @@ shim::Subdivider::setCoarseVertices(const HeterogeneousBuffer& cage) { float* pFloats = (float*) &cage.Buffer[0]; int numFloats = cage.Buffer.size() / sizeof(float); - self->vertexBuffer->UpdateData(pFloats, numFloats); + self->vertexBuffer->UpdateData(pFloats, /*start vertex*/ 0, numFloats); } void shim::Subdivider::refine() { g_osdComputeController->Refine(self->computeContext, - self->farmesh->GetKernelBatches(), + self->farMesh->GetKernelBatches(), self->vertexBuffer); }