Skip to content

Commit

Permalink
Display axesWidget when moving model
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneGit committed Apr 9, 2024
1 parent 669163c commit e0a05fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,6 @@ def move_stl2(self):

# self.interactor.SetInteractorStyle(self.actor_interactor_style)

self.axesWidget.SetEnabled(False)
if self.boxWidget is None:
self.boxWidget = vtk.vtkBoxWidget()
self.boxWidget.SetInteractor(self.interactor)
Expand Down Expand Up @@ -1173,7 +1172,6 @@ def TransformActor(obj, event):
self.state_stl() # TODO: might be not stl but both or gcode
# self.interactor.SetInteractorStyle(self.camera_interactor_style)
self.boxWidget.SetEnabled(False)
self.axesWidget.SetEnabled(True)
xc, yc, zmin = gui_utils.findStlOrigin(self.stlActor)
tf = self.stlActor.GetUserTransform()
tf.PostMultiply()
Expand Down

0 comments on commit e0a05fd

Please sign in to comment.