Skip to content

Commit

Permalink
More updates
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTov committed May 14, 2024
1 parent 0b0c0d4 commit e22fffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion znvis/mesh/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Mesh:
A ZnVis material class.
"""

material: Material = Material()
material: Material = field(default_factory=lambda: Material())
base_direction = field(default_factory=lambda: np.array([1, 0, 0]))

def __post_init__(self):
Expand Down

0 comments on commit e22fffa

Please sign in to comment.