Skip to content

Commit

Permalink
bugfix: invert vertices for visualization purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Apr 12, 2023
1 parent 1b046b8 commit f966fc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions napari_process_points_and_surfaces/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def all_labels_to_surface(labels: "napari.types.LabelsData", add_label_id_as_val
mesh = vedo.merge(mesh_list, flag=True)

surface = to_napari_surface_data(mesh)
surface = invert_faces(surface)

if add_label_id_as_value:
surface = set_vertex_values(surface, all_values)
Expand Down

0 comments on commit f966fc3

Please sign in to comment.