Skip to content

Commit

Permalink
Merge pull request #66 from delaossa/fix_window_size_bug
Browse files Browse the repository at this point in the history
Fix bug in condition.
  • Loading branch information
AngelFP authored Feb 27, 2024
2 parents 90bbd38 + cf76d5a commit 5966743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visualpic/visualization/vtk_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def show(self, timestep=0, ts_is_index=True, window_size=None):
if len(self.volume_field_list + self.scatter_species_list) > 0:
self._make_timestep_render(timestep, ts_is_index)
self.window.SetOffScreenRendering(0)
if window_size is not None:
if window_size is None:
window_size = self._window_size
if self.vis_config['use_qt']:
app = QtWidgets.QApplication(sys.argv)
Expand Down

0 comments on commit 5966743

Please sign in to comment.