We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d8685c commit b02dc93Copy full SHA for b02dc93
surfer/viz.py
@@ -1858,6 +1858,7 @@ def set_surf(self, surf):
1858
1859
# update mesh objects (they use a reference to geo.coords)
1860
for brain in self.brains:
1861
+ brain._geo_mesh.data.points = self.geo[brain.hemi].coords
1862
brain.update_surf()
1863
1864
self.surf = surf
@@ -3369,7 +3370,7 @@ def _orient_lights(self):
3369
3370
light.azimuth *= -1
3371
3372
def update_surf(self):
- "Update surface mesh after mesh coordinates change"
3373
+ """Update surface mesh after mesh coordinates change."""
3374
with warnings.catch_warnings(record=True): # traits
3375
self._geo_mesh.update()
3376
for mesh in self._mesh_clones.values():
0 commit comments