I was interested in looking at modifying the “collect images” module to show folders in reverse alphabetic order in the current dev version (roughly 3.1.0+1004)… but I was distracted by two things:
- I can’t for the life of me find any difference whether I set (in gui prefs) number of levels to 1 or to 5 (btw, those are the hard limits set inside the software, so it would probably be useful to not allow 0 or >5)
- The function that handles the chosen number uses first “CLAMPS” to restrict the number to [1,5] (which is known to be exceptionally fast under clang and gcc), then on the next line there is if(number<0) number=1; This seems a bit belt and braces.
So of course it’s two minutes work to change the code, but it seems so obvious I wonder if there is a historic reason for this?
Second, did folder levels previously work? Is this just part of the great lighttable over-haul that I should keep clear of?