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

Setting to do full Renders in place of Preview on AutoReload #5085

Open
khionu opened this issue Apr 10, 2024 · 4 comments
Open

Setting to do full Renders in place of Preview on AutoReload #5085

khionu opened this issue Apr 10, 2024 · 4 comments

Comments

@khionu
Copy link

khionu commented Apr 10, 2024

Is your feature request related to a problem? Please describe.
I'm currently experiencing the issue in #4861, and am waiting on Nixpkgs to update mesa on unstable. I use an external editor, and having to keep going back to OpenSCAD to rerender is a bit annoying. Additionally, with the new renderer being much more performant, the full render is fast enough for the scale of projects I'm working with.

Describe the solution you'd like
An opt-in to change the behaviour on Preview to instead do a full Render.

@t-paul t-paul changed the title Setting to do full Renders in place of Preview Setting to do full Renders in place of Preview on AutoReload Apr 10, 2024
@nophead
Copy link
Member

nophead commented Apr 10, 2024

Wrap your problematic code with render() { }.

@khionu
Copy link
Author

khionu commented Apr 11, 2024

That's decent for me right now, but if you're collaborating on something, it's less so.

@pca006132
Copy link
Member

Curious if you can just use a flake and pull the correct mesa version? That way you don't have to wait for the channel update.

@khionu
Copy link
Author

khionu commented Apr 12, 2024

I could probably do it myself, but they're already running into things to sort out on the staging branch, so I'm not sure if I really want to try. Also, upgrading mesa has a large cascade of rebuilding, so it's not a casual swap.

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

No branches or pull requests

3 participants