Skip to content

Upload Splat: Send media token to scene and persist via save manager#1199

Open
tanish2k09 wants to merge 1 commit intomainfrom
feature/upload-splat-support
Open

Upload Splat: Send media token to scene and persist via save manager#1199
tanish2k09 wants to merge 1 commit intomainfrom
feature/upload-splat-support

Conversation

@tanish2k09
Copy link
Copy Markdown
Collaborator

  • Propagate assetToken through upload3DObjects progressCallback so callers receive it on success
  • UploadModalSplat.onSuccess now delivers the media token instead of raw bytes
  • Controls3D uses addObject() with AssetType.SPLAT to add the splat through the proper queue/undo path
  • Remove unused onLocalBytes prop and dead commented-out code
  • Fix ObjectJSON missing top-level media_file_type field so type is correctly restored on scene reload (previously always undefined, breaking outliner icons for all object types)

- Propagate assetToken through upload3DObjects progressCallback so callers receive it on success
- UploadModalSplat.onSuccess now delivers the media token instead of raw bytes
- Controls3D uses addObject() with AssetType.SPLAT to add the splat through the proper queue/undo path
- Remove unused onLocalBytes prop and dead commented-out code
- Fix ObjectJSON missing top-level media_file_type field so type is correctly restored on scene reload (previously always undefined, breaking outliner icons for all object types)
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 24, 2026

Deploy Preview for artcraft-website ready!

Name Link
🔨 Latest commit 187eedb
🔍 Latest deploy log https://app.netlify.com/projects/artcraft-website/deploys/69c2240a60d10c0008a27814
😎 Deploy Preview https://deploy-preview-1199--artcraft-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 24, 2026

Deploy Preview for storyteller-docs ready!

Name Link
🔨 Latest commit 187eedb
🔍 Latest deploy log https://app.netlify.com/projects/storyteller-docs/deploys/69c2240adbd7ed000866b73b
😎 Deploy Preview https://deploy-preview-1199--storyteller-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 24, 2026

Deploy Preview for genhub-website ready!

Name Link
🔨 Latest commit 187eedb
🔍 Latest deploy log https://app.netlify.com/projects/genhub-website/deploys/69c2240accaf1e0008e6c7ac
😎 Deploy Preview https://deploy-preview-1199--genhub-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@tanish2k09
Copy link
Copy Markdown
Collaborator Author

Fixes #1177

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.

1 participant