Skip to content

Conversation

@vincentfretin
Copy link
Contributor

Description:

If you use a canvas as src, and later update the canvas, the layer is not updated. I propose to reintroduce a needsRedraw flag on the component that can be set with this.el.components.layer.needsRedraw = true from another component that updated the canvas.

Changes proposed:

  • Reintroduce a needsRedraw flag that can be set to true to update the quad layer if you use a canvas as src
@vincentfretin
Copy link
Contributor Author

I will need to rebase this one after #5722 is merged, I'll have a conflict.

@dmarcos
Copy link
Member

dmarcos commented May 16, 2025

Thank you!

@dmarcos dmarcos merged commit f715cb4 into aframevr:master May 16, 2025
3 checks passed
@vincentfretin vincentfretin deleted the canvas-layer-needsRedraw branch May 17, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants