Blender Git Commit Log

Git Commits -> Revision dfbc793

Revision dfbc793 by Dalai Felinto (master)
August 23, 2012, 17:37 (GMT)
bugfix for [32368] Added controllers don't count over 10
Blender original code (NaN likely) was relying on strcmp to sort the list of controllers.
As it happens, in strcmp 10 < 2, thus the list was never in the right order.

The curious thing is that in 2.49 it worked, but I think it did because the make_unique_prop_names function was called twice. Strange ;)
The solution is to use blender BLI_natstrcmp to do natural sorting

Commit Details:

Full Hash: dfbc793d885ae603089e5764cdd25fb2c983a03b
SVN Revision: 50165
Parent Commit: f6a6fa4
Lines Changed: +1, -1

1 Modified Path:

/source/blender/editors/space_logic/logic_window.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021