Changeset View
Changeset View
Standalone View
Standalone View
bone_selection_sets.py
| Context not available. | |||||
| # change currently active selection set | # change currently active selection set | ||||
| numsets = len(arm.selection_sets) | numsets = len(arm.selection_sets) | ||||
| if (arm.active_selection_set > (numsets - 1) and numsets > 0): | if arm.active_selection_set > (numsets - 1) and numsets > 0: | ||||
| arm.active_selection_set = len(arm.selection_sets) - 1 | arm.active_selection_set = len(arm.selection_sets) - 1 | ||||
| return {'FINISHED'} | return {'FINISHED'} | ||||
| Context not available. | |||||