MCPcopy Create free account
hub / github.com/cube-c/Auto-Align / OBJECT_OT_AutoAlignKeepOperator

Class OBJECT_OT_AutoAlignKeepOperator

auto_align.py:64–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64class OBJECT_OT_AutoAlignKeepOperator(Operator):
65 bl_idname = 'object.auto_align_keep'
66 bl_label = 'Auto Align'
67 bl_description = 'Automatically re-aligns wrong axis objects'
68 bl_options = {'REGISTER', 'UNDO'}
69
70 def execute(self, context):
71 auto_align = context.scene.auto_align
72 align(context, keep=True, bake=True, symmetry=auto_align.symmetry)
73
74 return {'FINISHED'}
75
76
77def align(context, bake=False, keep=False, symmetry=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected