Skip to content

Conversation

@abstrakt8
Copy link
Contributor

What was changed?

@abstrakt8 abstrakt8 requested a review from Copilot December 23, 2025 17:23
@changeset-bot
Copy link

changeset-bot bot commented Dec 23, 2025

⚠️ No Changeset found

Latest commit: 137ecfd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 23, 2025

Open in StackBlitz

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

commit: 137ecfd

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 #297 by adding custom handling for the unified property of the GSplat component, which cannot be modified while the component is enabled due to PlayCanvas engine constraints.

Key Changes:

  • Added a custom apply function for the unified property that temporarily disables the component when needed to modify this restricted property
  • The implementation checks if the component is already disabled before toggling, avoiding unnecessary operations

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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

GSplat unified flag not set correctly preventing LODs to be rendered correctly

2 participants