Skip to content

Add edge permutation to example code#16

Open
DavidJourdan wants to merge 1 commit intonmwsharp:masterfrom
DavidJourdan:patch-1
Open

Add edge permutation to example code#16
DavidJourdan wants to merge 1 commit intonmwsharp:masterfrom
DavidJourdan:patch-1

Conversation

@DavidJourdan
Copy link

In the example code for py/structures/surface_mesh/scalar_quantities we need to set the edge permutation before displaying any edge-based quantity, otherwise Polyscope will return the following error:

[EXCEPTION] SurfaceMesh rand vals3 attempted to set edge-valued data, but this requires an edge ordering. Call setEdgePermutation().

In the example code for ```surface_mesh/scalar_quantities``` we need to set the edge permutation before displaying any edge-based quantity, otherwise Polyscope will return the following error:
```
[EXCEPTION] SurfaceMesh rand vals3 attempted to set edge-valued data, but this requires an edge ordering. Call setEdgePermutation().
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant