Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotter.enable_terrain_style not working for me #597

Open
wassimj opened this issue Sep 6, 2022 · 2 comments
Open

plotter.enable_terrain_style not working for me #597

wassimj opened this issue Sep 6, 2022 · 2 comments

Comments

@wassimj
Copy link

wassimj commented Sep 6, 2022

I have a model of a building that I need to keep upright as the user orbits the camera around it. I added the following line:

plotter.enable_terrain_style(mouse_wheel_zooms=True, shift_pans=True)

However, nothing changed and the camera still orbits freely and tilts the view. How can I fix this? Thanks.

@banesullivan
Copy link
Member

Please open a discussion in the PyVista Discussions: https://github.com/pyvista/pyvista/discussions

Creating issues was supposedly disabled here...

@pyvista pyvista locked and limited conversation to collaborators Sep 6, 2022
@banesullivan
Copy link
Member

Also, please share your full script as there is likely a subsequent line of code that "resets" the camera style

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants