Skip to content

Conversation

@abstrakt8
Copy link
Contributor

@abstrakt8 abstrakt8 commented Jan 6, 2026

What has changed?

@changeset-bot
Copy link

changeset-bot bot commented Jan 6, 2026

🦋 Changeset detected

Latest commit: b28c3a3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@playcanvas/react Patch
@playcanvas/blocks Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 6, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@playcanvas/blocks@304
npm i https://pkg.pr.new/@playcanvas/react@304

commit: b28c3a3

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes issue #302 by preventing unnecessary reapplication of instance and material properties on the GSplat component when their values haven't changed.

Key changes:

  • Added early return in property setters when values haven't changed to avoid redundant operations
  • Added support for material and instance properties with proper validation and type checking

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@abstrakt8 abstrakt8 marked this pull request as ready for review January 6, 2026 15:35
@abstrakt8 abstrakt8 merged commit c1106f7 into main Jan 6, 2026
6 checks passed
@abstrakt8 abstrakt8 deleted the gsplat-fixes branch January 6, 2026 15:51
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.

When rendering a gaussian splat (PLY or SOG format), applying any transform causes splat to disappear

3 participants