Fix unused variable warnings
This commit is contained in:
@@ -238,10 +238,6 @@ exportFaceGroupToShape(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t offset;
|
|
||||||
|
|
||||||
offset = shape.mesh.indices.size();
|
|
||||||
|
|
||||||
// Flatten vertices and indices
|
// Flatten vertices and indices
|
||||||
for (size_t i = 0; i < faceGroup.size(); i++) {
|
for (size_t i = 0; i < faceGroup.size(); i++) {
|
||||||
const std::vector<vertex_index>& face = faceGroup[i];
|
const std::vector<vertex_index>& face = faceGroup[i];
|
||||||
@@ -624,7 +620,6 @@ std::string LoadObj(
|
|||||||
token += 7;
|
token += 7;
|
||||||
sscanf(token, "%s", namebuf);
|
sscanf(token, "%s", namebuf);
|
||||||
|
|
||||||
bool ret = exportFaceGroupToShape(shape, vertexCache, v, vn, vt, faceGroup, material, name, false);
|
|
||||||
faceGroup.clear();
|
faceGroup.clear();
|
||||||
|
|
||||||
if (material_map.find(namebuf) != material_map.end()) {
|
if (material_map.find(namebuf) != material_map.end()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user