Skip to content

There is no way to realize when to render scene in requestRenderMode #12626

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

Open
a-milenin opened this issue May 20, 2025 · 1 comment
Open

Comments

@a-milenin
Copy link

What happened?

Calling scene.requestRender() after adding entity and on collectionChanged does not have any effect. Only way to make it work is a delay before requestRender but I don't think it's how it should works.

Reproduction steps

  1. Open link
  2. Click toggle couple times
  3. It supposed to appears/disappears after each click but it's not

Sandcastle example

https://sandcastle.cesium.com/#c=bVPbahsxEP2VYV+yC44c15SCY5s2Th4KCS2O6Uu3D4o0XotqJXekddgE/3ukvTS2Y1iE5nLOaObMCmuch53CZySYgcFnWKBTVcl+Nb40T0RjL6zxXBmkPBnAK+G/Cp1fopFID1biBDxVuM+uc5Mb0ZByKZcof1pdF9YE7jSD2bwrxdB45RU6FrLS19wAKDmBPCGUl9sWEgpFv+Elxkjggi4C4XMVrbnALqkLTKChAtgoJE5iU0/6dhacfLhxM2ZrsuUtFoTovhHxOv3dggAuR6PP7GoA4y/x/G99aq2rxjsed1bjHY+OrJjfkv3JukvJPZLi+v0lVltiy7vbJmEfzm5sp6MRVmsUXlmz2HBToIzDutuF+L1yHoMW6dFMnQg+diRNmrXUR1qk0ddhXqwtVzY9KZ1dQ0Q9ciMFd15jrLyyVj9xuqm8Dxx5srJFoaMAsK5M88wocSNAuwANWx2UP22sQH9Tf5fpxYHaF/FRYQvWkLa4rNfyFE1Y2h32WQ1qD6gd9oCPzR7QnB1SS9IJkQySqfO1xnm/Fl9VubXkoSKdMjb0WG51UNUNnyrxFz0TzvVVpsND6FSqXVjs2ZmfCITmzoXIutL6Ub2EQc6nw5D/Aaotl8oUP3ZImtcxbTOa37dOxth0GMzzSN8qFiB9J++xLdktUhzoA5rqtHh3b603

Environment

Browser: 136.0.7103.114
CesiumJS Version: 1.129
Operating System: Windows

@Beilinson
Copy link

Duplicate of #12543

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

2 participants