diff --git a/code/glTFExporter.cpp b/code/glTFExporter.cpp index 352d94287..7f0c086cf 100644 --- a/code/glTFExporter.cpp +++ b/code/glTFExporter.cpp @@ -152,14 +152,14 @@ inline Ref ExportData(Asset& a, std::string& meshName, Ref& bu // bufferView Ref bv = a.bufferViews.Create(a.FindUniqueID(meshName, "view")); bv->buffer = buffer; - bv->byteOffset = unsigned(offset); - bv->byteLength = length; //! The target that the WebGL buffer should be bound to. + bv->byteOffset = unsigned(offset); + bv->byteLength = length; //! The target that the WebGL buffer should be bound to. bv->target = isIndices ? BufferViewTarget_ELEMENT_ARRAY_BUFFER : BufferViewTarget_ARRAY_BUFFER; // accessor Ref acc = a.accessors.Create(a.FindUniqueID(meshName, "accessor")); acc->bufferView = bv; - acc->byteOffset = 0; + acc->byteOffset = 0; acc->byteStride = 0; acc->componentType = compType; acc->count = count;