Skip to content

Replace old type checking code with a call to isinstance.

David Gobbi requested to merge dgobbi/paraview:isinstance-typecheck into master

For the old python wrappers, calling type() on any vtk object returned 'vtkobject', but for the new wrappers, type() always returns the type object for the object's class.

This change is needed before paraview will work with the new wrappers.

Merge request reports

Loading