Merge pull request #1017 from KosLooney/master
Change traits order #997
This commit is contained in:
commit
6af859a720
|
@ -228,7 +228,9 @@ class ArmTraitListMoveItem(bpy.types.Operator):
|
|||
new_index = index + 1
|
||||
|
||||
new_index = max(0, min(new_index, list_length))
|
||||
index = new_index
|
||||
|
||||
obj.arm_traitlist.move(index, new_index)
|
||||
obj.arm_traitlist_index = new_index
|
||||
|
||||
|
||||
def execute(self, context):
|
||||
|
|
Loading…
Reference in a new issue