Merge pull request #1017 from KosLooney/master

Change traits order #997
This commit is contained in:
Lubos Lenco 2018-11-22 11:39:45 +01:00 committed by GitHub
commit 6af859a720
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):