Skip to content

Commit e8a0879

Browse files
authored
FIX: Fix roll setting (#237)
1 parent e4d3cff commit e8a0879

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

surfer/viz.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@ def _toggle_render(self, state, views=None):
555555
if state is True and view is not None:
556556
mlab.draw(figure=_f)
557557
with warnings.catch_warnings(record=True): # traits focalpoint
558-
mlab.view(*view[0], roll=view[1], figure=_f)
558+
mlab.view(*view[0], figure=_f)
559+
mlab.roll(view[1], figure=_f)
559560
_f.scene.camera.parallel_scale = view[2]
560561
# let's do the ugly force draw
561562
if state is True:

0 commit comments

Comments
 (0)