Skip to content

Codex-generated pull request#171

Open
alexwelcing wants to merge 1 commit intomainfrom
codex/build-gaussian-splat-viewer-with-react-three-fiber
Open

Codex-generated pull request#171
alexwelcing wants to merge 1 commit intomainfrom
codex/build-gaussian-splat-viewer-with-react-three-fiber

Conversation

@alexwelcing
Copy link
Copy Markdown
Owner

Codex generated this pull request, but encountered an unexpected error after generation. This is a placeholder PR message.


Codex Task

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
next-docs-search Ready Ready Preview, Comment Mar 19, 2026 3:16am

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c884432b21

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const GaussianSplatBackground: React.FC<GaussianSplatBackgroundProps> = ({
splatUrl,
position = [0, 0, 0],
rotation = [0, 0, 0],
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Stop re-adding the splat scene on every render

rotation = [0, 0, 0] allocates a fresh array on every render, and the current caller in ThreeSixty.tsx:522-525 also passes position={[0, 0, 0]} inline. Because those arrays are included in the effect dependencies here, any rerender tears down the existing DropInViewer scene and calls addSplatScene() again. Once setReady(true) resolves, the next render immediately re-enters the effect, so the Gaussian background can flicker or get stuck in a reload loop whenever this mode is active.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant