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 b1dee06 commit 6a90033Copy full SHA for 6a90033
src/ansys/tools/visualization_interface/backends/pyvista/widgets/screenshot.py
@@ -68,12 +68,10 @@ def callback(self, state: bool) -> None:
68
It is called every time the screenshot widget is clicked.
69
"""
70
for widget in self.plotter._widgets:
71
- widget._button.Off()
72
widget._button.GetRepresentation().SetVisibility(0)
73
self._plotter._pl.scene.render()
74
self.plotter._pl.scene.screenshot("screenshot.png")
75
76
77
widget._button.GetRepresentation().SetVisibility(1)
78
79
0 commit comments