mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-24 05:45:40 +00:00
aug ArrayObject to have a uniquePair command
like uniqueket and uniquevalue, removes duplicate entries, but only if *both* match also, use that for the populateAllFonts() cache generator
This commit is contained in:
parent
242e029c21
commit
24562e6758
3 changed files with 28 additions and 2 deletions
|
|
@ -650,7 +650,7 @@ function populateAllFonts()
|
|||
continue;
|
||||
%fontarray.push_back(%obj.fontType,%obj.fontSize);
|
||||
}
|
||||
%fontarray.uniqueKey();
|
||||
%fontarray.uniquePair();
|
||||
|
||||
%fontarrayCount = %fontarray.count();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue