From 3ea33471283c42b5df0fc3ce5903baf4aa866b13 Mon Sep 17 00:00:00 2001 From: manuelk Date: Mon, 18 Mar 2013 14:09:46 -0700 Subject: [PATCH] - fix incorrect name typo - fix incorrect function argument introduced by recent batching work fixes #137 --- python/osd/subdivider.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }