Skip to content

Commit afb1747

Browse files
committed
update aoa dialog
1 parent 9ce37f9 commit afb1747

File tree

1 file changed

+4
-0
lines changed
  • openglider/gui/wizzards/input

1 file changed

+4
-0
lines changed

openglider/gui/wizzards/input/aoa.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,15 @@ def on_node_move(self, curve: DraggableLine, event: Any) -> None:
125125
controlpoints = euklid.vector.PolyLine2D([[p[0]*span, p[1] * math.pi / 180] for p in curve.controlpoints])
126126
self.project.glider.aoa.controlpoints = controlpoints
127127
#self.project.glider.rescale_curves()
128+
self.redraw()
129+
130+
def redraw(self) -> None:
128131
self.project.glider.apply_aoa(self.project.get_glider_3d())
129132

130133
self.update()
131134

132135

136+
133137
class AOAWizard(GliderSelectionWizard):
134138
project: GliderProject
135139
def __init__(self, app: MainWindow, project: GliderProject):

0 commit comments

Comments
 (0)