| 36 | |
| 37 | |
| 38 | class OBJECT_OT_AutoAlignBaseOperator(Operator): |
| 39 | bl_idname = 'object.auto_align_base' |
| 40 | bl_label = 'Auto Align' |
| 41 | bl_description = 'Automatically re-aligns wrong axis objects' |
| 42 | bl_options = {'REGISTER', 'UNDO'} |
| 43 | |
| 44 | def execute(self, context): |
| 45 | auto_align = context.scene.auto_align |
| 46 | align(context, symmetry=auto_align.symmetry) |
| 47 | |
| 48 | return {'FINISHED'} |
| 49 | |
| 50 | |
| 51 | class OBJECT_OT_AutoAlignBakeOperator(Operator): |
nothing calls this directly
no outgoing calls
no test coverage detected