| 49 | |
| 50 | |
| 51 | class OBJECT_OT_AutoAlignBakeOperator(Operator): |
| 52 | bl_idname = 'object.auto_align_bake' |
| 53 | bl_label = 'Auto Align' |
| 54 | bl_description = 'Automatically re-aligns wrong axis objects' |
| 55 | bl_options = {'REGISTER', 'UNDO'} |
| 56 | |
| 57 | def execute(self, context): |
| 58 | auto_align = context.scene.auto_align |
| 59 | align(context, bake=True, symmetry=auto_align.symmetry) |
| 60 | |
| 61 | return {'FINISHED'} |
| 62 | |
| 63 | |
| 64 | class OBJECT_OT_AutoAlignKeepOperator(Operator): |
nothing calls this directly
no outgoing calls
no test coverage detected