Model (sometimes) doesn't update changes in viewer until user interaction occurs #3601
-
DescriptionI am making some kind of configurator where you can change parts of the model by turning certain parts visibility on and off. The issue I am facing is that sometimes when I change a part it doesn't get updated in the viewer until the user interacts with the viewer (rotating or zooming in or out). I call updateFraming() and updateShadow() on every change. I will attach a video showing the issue I am facing and a test link. Live Demoscreen-capture.webmVersion
Browser Affected
OS
AR
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You're outside of our public API by accessing our internal $scene, so the usual caveats apply. However, I think what you need is to set |
Beta Was this translation helpful? Give feedback.
You're outside of our public API by accessing our internal $scene, so the usual caveats apply. However, I think what you need is to set
mv[$scene].queueRender();
when you change something. I'm looking at ways to add an actual public API to support these kinds of flows, so stay tuned.