Skip to content

Commit

Permalink
small fix to UnstructuredGrid base classes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomusy committed Dec 7, 2023
1 parent ed3388c commit 6761b2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions vedo/tetmesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
__all__ = ["UnstructuredGrid", "TetMesh"]

#########################################################################
class UnstructuredGrid(PointAlgorithms, MeshVisual):
class UnstructuredGrid(MeshVisual, PointAlgorithms):
"""Support for UnstructuredGrid objects."""

def __init__(self, inputobj=None):
Expand Down Expand Up @@ -768,7 +768,6 @@ def __init__(self, inputobj=None):
self.name = "TetMesh"
self.filename = ""


# inputtype = str(type(inputobj))
# print('TetMesh inputtype', inputtype)

Expand Down
1 change: 1 addition & 0 deletions vedo/visual.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ def __init__(self):
super().__init__()
self.properties_backface = None
self._cmap_name = None
self.trail = None
self.trail_offset = 0
self.trail_points = []
self._caption = None
Expand Down

0 comments on commit 6761b2e

Please sign in to comment.