Skip to content

Commit 7a95d32

Browse files
committed
fix: add colour to surfaces
1 parent 2f0f667 commit 7a95d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loopstructural/gui/visualisation/feature_list_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@ def add_stratigraphic_surfaces(self):
144144
return
145145
stratigraphic_surfaces = self.model_manager.model.get_stratigraphic_surfaces()
146146
for surface in stratigraphic_surfaces:
147-
self.viewer.add_mesh_object(surface.vtk(), name=surface.name)
147+
self.viewer.add_mesh_object(surface.vtk(), name=surface.name,color=surface.colour)
148148
print("Adding stratigraphic surfaces...")

0 commit comments

Comments
 (0)