fix EggVertexPool::create_unique_vertex()

This commit is contained in:
David Rose 2005-02-18 21:49:27 +00:00
parent 1c6c6f4cda
commit 2a92b0e512

View File

@ -322,7 +322,7 @@ sorts_less_than(const EggVertex &other) const {
// Merge-compare the uv maps. // Merge-compare the uv maps.
UVMap::const_iterator ai, bi; UVMap::const_iterator ai, bi;
ai = _uv_map.begin(); ai = _uv_map.begin();
bi = other._uv_map.end(); bi = other._uv_map.begin();
while (ai != _uv_map.end() && bi != other._uv_map.end()) { while (ai != _uv_map.end() && bi != other._uv_map.end()) {
if ((*ai).first < (*bi).first) { if ((*ai).first < (*bi).first) {
return true; return true;
@ -339,7 +339,7 @@ sorts_less_than(const EggVertex &other) const {
++ai; ++ai;
++bi; ++bi;
} }
if (bi != _uv_map.end()) { if (bi != other._uv_map.end()) {
return true; return true;
} }
if (ai != _uv_map.end()) { if (ai != _uv_map.end()) {