mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
alpabetize equivalent texture images
This commit is contained in:
parent
9a87a1c0dc
commit
aaab6bc163
@ -1113,6 +1113,10 @@ operator ()(TexturePlacement *a, TexturePlacement *b) const {
|
|||||||
|
|
||||||
} else if (b->get_x_size() < a->get_x_size()) {
|
} else if (b->get_x_size() < a->get_x_size()) {
|
||||||
return true;
|
return true;
|
||||||
|
} else if (a->get_name() < b->get_name()) {
|
||||||
|
//use this fall through case to let alphabetically smaller textures show up first
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user