fix for own error [#26310] "Randomize Transform" operator has widgets jumbled
authorCampbell Barton <ideasman42@gmail.com>
Thu, 3 Mar 2011 13:23:40 +0000 (13:23 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 3 Mar 2011 13:23:40 +0000 (13:23 +0000)
the correct order was being overwritten.

release/scripts/modules/bpy_types.py

index f3daee49474f5c0cc21dbdc91c01bd0338cec0a1..4c97ae988045884f999b96bd9eeddf0778379a7e 100644 (file)
@@ -604,11 +604,6 @@ class RNAMetaPropGroup(RNAMeta, StructMetaPropGroup):
 
 
 class OrderedMeta(RNAMeta):
-
-    def __init__(cls, name, bases, attributes):
-        super(OrderedMeta, cls).__init__(name, bases, attributes)
-        cls.order = list(attributes.keys())
-
     def __prepare__(name, bases, **kwargs):
         return OrderedDictMini()  # collections.OrderedDict()