Changeset View
Changeset View
Standalone View
Standalone View
bone_selection_sets.py
| Context not available. | |||||
| @classmethod | @classmethod | ||||
| def poll(self, context): | def poll(self, context): | ||||
| if super().poll(context): | if super().poll(context): | ||||
| arm = context.object | arm = context.object | ||||
| return (arm.active_selection_set < len(arm.selection_sets) | return len(arm.selection_sets) > arm.active_selection_set >= 0 | ||||
| and arm.active_selection_set >= 0) | |||||
| return False | return False | ||||
| Context not available. | |||||