Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/asefile.cc')
-rw-r--r--src/model/asefile.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/model/asefile.cc b/src/model/asefile.cc
index ce43cd0..bbcc6e3 100644
--- a/src/model/asefile.cc
+++ b/src/model/asefile.cc
@@ -315,7 +315,7 @@ bool ASEFile::read_mesh_normals(std::istream &is)
char data[1024];
memset(data, 0, sizeof(data));
- size_t count = 0;
+ //size_t count = 0;
size_t index = 0;
size_t vertindex = 0;
@@ -337,7 +337,7 @@ bool ASEFile::read_mesh_normals(std::istream &is)
it = ase_facelist.find(index);
if (it != ase_facelist.end()) {
(*it).second->normal().assign(x, y, z);
- count++;
+ //count++;
} else {
con_warn << " could not find face " << index << std::endl;
}
@@ -366,7 +366,7 @@ bool ASEFile::read_mesh_normals(std::istream &is)
}
bool ASEFile::read_mesh_tvertex_list(std::istream &is)
{
- size_t count = 0;
+ //size_t count = 0;
char data[1024];
memset(data, 0, sizeof(data));
@@ -387,7 +387,7 @@ bool ASEFile::read_mesh_tvertex_list(std::istream &is)
if (line >> index >> x >> y >> z) {
math::Vector3f *v = new math::Vector3f(x, y, z);
ase_tvertexlist[index] = v;
- count++;
+ //count++;
}
}
}
@@ -397,7 +397,7 @@ bool ASEFile::read_mesh_tvertex_list(std::istream &is)
bool ASEFile::read_mesh_tface_list(std::istream &is)
{
- size_t count = 0;
+ //size_t count = 0;
char data[1024];
memset(data, 0, sizeof(data));
@@ -428,7 +428,7 @@ bool ASEFile::read_mesh_tface_list(std::istream &is)
if (t2)
triangle->t2().assign(t2->x(), 1.0f - t2->y());
}
- count++;
+ //count++;
}
}
}