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

HTMLMesh: Clear the canvas before starting to draw #27092

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

Elettrotecnica
Copy link
Contributor

Related issue: AdaRoseCannon/aframe-htmlmesh/pull/20

In related issue, @vincentfretin suggests that a better fix would be to clear the whole canvas every time at the beginning. I think this makes sense, as the mesh is meant to be completely redrawn on update.

The proposed change implements the suggestions and clears the whole canvas first thing before starting to draw.

All the best

@vincentfretin
Copy link
Contributor

You can put "HTMLMesh: " in this PR title and others you will do so that's easily searchable and we know right away it's about HTMLMesh.

The change makes sense.

@Elettrotecnica Elettrotecnica changed the title Clear the canvas before starting to draw HTMLMesh - Clear the canvas before starting to draw Oct 30, 2023
@Elettrotecnica Elettrotecnica changed the title HTMLMesh - Clear the canvas before starting to draw HTMLMesh: Clear the canvas before starting to draw Oct 30, 2023
@Mugen87 Mugen87 added this to the r159 milestone Oct 30, 2023
@Mugen87 Mugen87 merged commit bb22d64 into mrdoob:dev Oct 31, 2023
18 checks passed
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.

3 participants