Cleanup: don't use single sets for comparisons
This commit is contained in:
		@@ -894,7 +894,7 @@ class OBJECT_PT_constraints(ConstraintButtonsPanel, Panel):
 | 
			
		||||
 | 
			
		||||
        obj = context.object
 | 
			
		||||
 | 
			
		||||
        if obj.type == 'ARMATURE' and obj.mode in {'POSE'}:
 | 
			
		||||
        if obj.type == 'ARMATURE' and obj.mode == 'POSE':
 | 
			
		||||
            box = layout.box()
 | 
			
		||||
            box.alert = True  # XXX: this should apply to the box background
 | 
			
		||||
            box.label(icon='INFO', text="Constraints for active bone do not live here")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user