forked from bartvdbraak/blender
missed renaming after api modification, used to cycle proportional edit falloffs with Shift+O.
This commit is contained in:
parent
c118d644d9
commit
9decca10e0
@ -335,7 +335,7 @@ class WM_OT_context_cycle_enum(bpy.types.Operator):
|
||||
if type(rna_prop) != bpy.types.EnumProperty:
|
||||
raise Exception("expected an enum property")
|
||||
|
||||
enums = rna_struct.properties[rna_prop_str].items.keys()
|
||||
enums = rna_struct.properties[rna_prop_str].enum_items.keys()
|
||||
orig_index = enums.index(orig_value)
|
||||
|
||||
# Have the info we need, advance to the next item
|
||||
|
Loading…
Reference in New Issue
Block a user