kopia lustrzana https://github.com/vilemduha/blendercam
Fix missing references for A and B axis
rodzic
812eb47b66
commit
d29bee2d23
|
@ -216,20 +216,20 @@ class CAM_OPERATION_PROPERTIES_Panel(CAMParentPanel, Panel):
|
|||
header.label(text="A & B Axes")
|
||||
if panel:
|
||||
subheader, subpanel = panel.panel("a_axis", default_closed=True)
|
||||
subheader.prop(self.op, "enable_A", text="A Axis")
|
||||
subheader.prop(self.op, "enable_a_axis", text="A Axis")
|
||||
if subpanel:
|
||||
subpanel.enabled = self.op.enable_a_axis
|
||||
col = subpanel.column(align=True)
|
||||
row = col.row()
|
||||
row.use_property_split = True
|
||||
row.prop(self.op, "rotation_a")
|
||||
col.prop(self.op, "A_along_x")
|
||||
col.prop(self.op, "a_along_x")
|
||||
if self.op.a_along_x:
|
||||
col.label(text="Ⓐ || Ⓧ - Ⓑ || Ⓨ")
|
||||
else:
|
||||
col.label(text="Ⓐ || Ⓨ - Ⓑ || Ⓧ")
|
||||
subheader, subpanel = panel.panel("b_axis", default_closed=True)
|
||||
subheader.prop(self.op, "enable_B", text="B Axis")
|
||||
subheader.prop(self.op, "enable_b_axis", text="B Axis")
|
||||
if subpanel:
|
||||
subpanel.enabled = self.op.enable_b_axis
|
||||
col = subpanel.column(align=True)
|
||||
|
|
Ładowanie…
Reference in New Issue