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: webgl renderer has logical exception when updating attributes (#1768) #1769

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

wang1212
Copy link
Member

@wang1212 wang1212 commented Sep 9, 2024

…1768)

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / Document optimization
  • TypeScript definition update
  • Refactoring
  • Performance improvement
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

fixed #1768

💡 Background and solution

see #1768

Reinitializing the geometry instance associated with the draw call instance with the latest element instance list before updating the attributes ensures correct rendering logic. And add boundary condition judgment.

📝 Changelog

Language Changelog
🇺🇸 English fix: webgl renderer has logical exception when updating attributes (#1768)
🇨🇳 Chinese fix: webgl 渲染器在更新属性时发生异常 (#1768)

☑️ Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@wang1212 wang1212 merged commit 61ef85b into release Sep 9, 2024
3 checks passed
@wang1212 wang1212 deleted the fix-1768 branch September 9, 2024 03:24
wang1212 added a commit that referenced this pull request Sep 14, 2024
* fix: `sourcemap.sources` path wrong (#1766)

* fix: webgl renderer has logical exception when updating attributes (#1768) (#1769)

* feat: added support for picking rotated text (#1749) (#1772)

* chore: updated benchmark screenshots (#1773)

* chore: updated benchmark screenshots

* fix: sourcemap generation exception

* chore: update test ci node version

* chore: update screenshots and ci config

* chore: delete redundant benchmark images

* Version Packages (#1770)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

2 participants