Closed dfsp-spirit closed 3 years ago
It turned out that this issue was not related to the vertices being adjacent. The problem was that there was no vertex to highlight for one hemi, leading to all-NA per-vertex data, leading to an empty color value vector (per-vertex colors) for the coloredmesh.
This has been fixed in 93d0c57 by setting the color to white if 0 colors are passed (with a warning).
Describe the bug
Trying to highlight 2 adjacent vertices using the function
highlight.vertices.on.subject.spheres()
leads to the following error message:To Reproduce
Expected behavior The 2 vertices get highlight in a plot.
Screenshots none
Environment:
R --version
in system shell): 3.6.3packageVersion('fsbrain')
in R): 0.5.0-dev (unsupported)Additional context Add any other context about the problem here.