Blender Git Commit Log

Git Commits -> Revision 65ed588

Revision 65ed588 by Brecht Van Lommel (master)
May 10, 2013, 14:52 (GMT)
Fix #35270: files with numbers higher than 2147483648 or with different numbers
of leading zeros but otherwise the same would show in random order in the file
browser. Selecting an item would change the order of all the items.

Problem was that it was comparing by parsing the number into an int, which has
only limited precision and does not care about the number of leading zeros. Now
do the comparison directly on the string.

Commit Details:

Full Hash: 65ed588c8b68b4bbea0e48a0222f5e8844774bd9
SVN Revision: 56662
Parent Commit: 384adf3
Lines Changed: +50, -12

1 Modified Path:

/source/blender/blenlib/intern/string.c (+50, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021