Removing the commented debug code

This commit is contained in:
sam gateau 2018-09-06 13:58:03 -07:00
parent 38bfee7b72
commit 6544e9f0b0

View file

@ -781,20 +781,7 @@ void FBXReader::buildModelMesh(FBXMesh& extractedMesh, const QString& url) {
attribChannel = 2;
totalAttribBufferSize = totalVertsSize - positionsSize - normalsAndTangentsSize;
} /*else {
auto posBuffer = std::make_shared<gpu::Buffer>();
posBuffer->setData(positionsSize, (const gpu::Byte*) vertBuffer->getData() + positionsOffset);
vertexBufferStream->addBuffer(posBuffer, 0, positionElement.getSize());
// update channels and attribBuffer size accordingly
interleavePositions = false;
interleaveNormalsTangents = true;
tangentChannel = 1;
attribChannel = 1;
totalAttribBufferSize = totalVertsSize - positionsSize;
}*/
}
// Define the vertex format, compute the offset for each attributes as we append them to the vertex format
gpu::Offset bufOffset = 0;