Skip to content

Commit

Permalink
fix self.interactor in 1180
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomusy committed Aug 20, 2024
1 parent f74b069 commit 5413c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vedo/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ def render(self, resetcam=False) -> Self:

self.window.Render()

if self._cocoa_process_events and self.interactor.GetInitialized():
if self._cocoa_process_events and self.interactor and self.interactor.GetInitialized():
if "Darwin" in vedo.sys_platform and not self.offscreen:
self.interactor.ProcessEvents()
self._cocoa_process_events = False
Expand Down

0 comments on commit 5413c6c

Please sign in to comment.