Skip to content

Commit

Permalink
cam_orient_widget
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-bistacchi committed Dec 16, 2024
1 parent f8a3a16 commit 0355205
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pzero/windows_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2166,6 +2166,7 @@ def initialize_interactor(self):
# Set orientation widget (turned on after the qt canvas is shown)
self.cam_orient_widget = vtkCameraOrientationWidget()
self.cam_orient_widget.SetParentRenderer(self.plotter.renderer)
self.cam_orient_widget.On()
# Set default orientation horizontal because vertical colorbars interfere with the camera widget.
pv_global_theme.colorbar_orientation = "horizontal"

Expand Down

0 comments on commit 0355205

Please sign in to comment.