diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-07 11:57:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-07 11:57:35 +0300 |
commit | c544d3ffb8688a8456d25aa132c1e9aedb1387c5 (patch) | |
tree | de70d9acc1231d566fdf96139b0810c768df1e5a /release/scripts/modules/bpy_types.py | |
parent | db066592b70bc2db063991c1907200b726845a0f (diff) |
Py/Operators: FBX Exporter setting order was still randomized.
Some lines removed recently I thought were are needed were there so classes that use mix-ins keep the argument order.
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 4c97ae98804..8fc23731c42 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -604,6 +604,10 @@ class RNAMetaPropGroup(RNAMeta, StructMetaPropGroup): class OrderedMeta(RNAMeta): + def __init__(cls, name, bases, attributes): + if attributes.__class__ is OrderedDictMini: + cls.order = attributes.order + def __prepare__(name, bases, **kwargs): return OrderedDictMini() # collections.OrderedDict() |