mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fix EggVertexPool::create_unique_vertex()
This commit is contained in:
parent
1c6c6f4cda
commit
2a92b0e512
@ -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()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user