Skip to content

Commit

Permalink
Small fix just introduced related to updating splat instances (#5978)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Valigursky <mvaligursky@snapchat.com>
  • Loading branch information
mvaligursky and Martin Valigursky committed Jan 25, 2024
1 parent c2ace37 commit 9d63525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scene/renderer/renderer.js
Expand Up @@ -682,7 +682,7 @@ class Renderer {
*/
updateGSplats(drawCalls) {
for (const drawCall of drawCalls) {
drawCall.gsplatInstance.update();
drawCall.gsplatInstance?.update();
}
}

Expand Down

0 comments on commit 9d63525

Please sign in to comment.