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

fix: framebuffer cameras uses the size from main canvas #7075

Merged
merged 1 commit into from
May 29, 2024

Conversation

Vishal2002
Copy link
Contributor

Resolves #7071

Changes:

  • Replaced the this._renderer with (this.renderer||this.fbo) to use either one of them.
  • It will he fix the issue regarding the framebuffer camera using the size of the main canvas.

Screenshots of the change:
Screenshot 2024-05-29 171418

PR Checklist

  • npm run lint passes

Copy link
Contributor

@davepagurek davepagurek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for helping with this fix!

@davepagurek davepagurek merged commit b59caa0 into processing:main May 29, 2024
2 checks passed
@davepagurek
Copy link
Contributor

@all-contributors please add @Vishal2002 for code

Copy link
Contributor

@davepagurek

I've put up a pull request to add @Vishal2002! 🎉

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

Successfully merging this pull request may close these issues.

cam.ortho() on framebuffer cameras and no args uses the size from the main canvas
2 participants