AngelFP / VisualPIC

Data Visualization for Particle-in-Cell Codes.
GNU General Public License v3.0
47 stars 13 forks source link

Fix bug with VTK #55

Closed AngelFP closed 11 months ago

AngelFP commented 11 months ago

It seems that in newer VTK versions isinstance(self.vtk_volume, vtk.vtkVolume) is True when self.vtk_volume is a vtk.vtkMultiVolume. This was leading to a false positive in an if condition.