projects
/
OpenColorIO-Configs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to properly source file names from ACES 'hotfixes' fork
[OpenColorIO-Configs.git]
/
aces_1.0.0
/
python
/
aces_ocio
/
generate_config.py
diff --git
a/aces_1.0.0/python/aces_ocio/generate_config.py
b/aces_1.0.0/python/aces_ocio/generate_config.py
index
94c6811
..
f16cd29
100755
(executable)
--- a/
aces_1.0.0/python/aces_ocio/generate_config.py
+++ b/
aces_1.0.0/python/aces_ocio/generate_config.py
@@
-611,7
+611,8
@@
def create_config(config_data,
print('Adding regular colorspaces')
print('Adding regular colorspaces')
- for colorspace in sorted(config_data['colorSpaces']):
+ for colorspace in sorted(config_data['colorSpaces'],
+ cmp=lambda x,y: cmp(x.family.lower(), y.family.lower())):
# Adding the colorspace *Family* into the name which helps with
# applications that presenting colorspaces as one a flat list.
if prefix:
# Adding the colorspace *Family* into the name which helps with
# applications that presenting colorspaces as one a flat list.
if prefix: