Skip to content

Commit

Permalink
Merge pull request #1209 from Poisoned/master
Browse files Browse the repository at this point in the history
Update plotter.py
  • Loading branch information
marcomusy authored Dec 4, 2024
2 parents c1ec095 + 33b59f2 commit fc06b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vedo/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ def background(self, c1=None, c2=None, at=None, mode=0) -> Union[Self, "np.ndarr
vtki.vtkViewport.GradientModes.VTK_GRADIENT_RADIAL_VIEWPORT_FARTHEST_SIDE,
vtki.vtkViewport.GradientModes.VTK_GRADIENT_RADIAL_VIEWPORT_FARTHEST_CORNER,
]
r.SetGradientMode(modes[vedo.settings.background_gradient_orientation])
r.SetGradientMode(modes[mode])
except AttributeError:
pass

Expand Down

0 comments on commit fc06b2e

Please sign in to comment.