X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Fgenerate_config.py;h=f16cd29290031be7a24d2e48c46a86b94fbc4c57;hp=94c681171b7d92e386dab3850b9c4865b687713a;hb=81189424cead6b262b3da1973b7d2f39e8517fae;hpb=7d36b2a69634c2eff935b3ebb21c4800e9e57089 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 --- 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') - 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: