Fix missing references for A and B axis

pull/292/head
Stationär\Henrik 2024-12-29 15:47:48 +01:00
rodzic 812eb47b66
commit d29bee2d23
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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)