Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

fix: 581 environment lightformers are not working#584

Merged
alvarosabu merged 5 commits intomainfrom
bugfix/581-environment-lightformers-are-not-working
Jan 17, 2025
Merged

fix: 581 environment lightformers are not working#584
alvarosabu merged 5 commits intomainfrom
bugfix/581-environment-lightformers-are-not-working

Conversation

@alvarosabu
Copy link
Copy Markdown
Member

@alvarosabu alvarosabu commented Jan 8, 2025

Closes #581

@hawk86104 you were close with the slots watcher, it was one of the reasons, I just improved a couple of things. It should work now

Screen.Recording.2025-01-08.at.17.24.55.mov

…date routing and environment handling

- Enhanced environment handling in `useEnvironment` with improved texture management and disposal methods.
- Refactored `EnvSence` class to use `dispose` method for better resource management.
- Updated lightformer properties for consistency and improved functionality.
@alvarosabu alvarosabu added bug Something isn't working p4-important-bug Violate documented behavior or significantly improve performance (priority) labels Jan 8, 2025
@alvarosabu alvarosabu requested a review from andretchen0 January 8, 2025 16:22
@alvarosabu alvarosabu self-assigned this Jan 8, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 8, 2025

Deploy Preview for cientos-tresjs ready!

Name Link
🔨 Latest commit 82f6bc7
🔍 Latest deploy log https://app.netlify.com/sites/cientos-tresjs/deploys/678a40b7e2e1160008c2bad7
😎 Deploy Preview https://deploy-preview-584--cientos-tresjs.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 site configuration.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jan 8, 2025

Open in Stackblitz

npm i https://pkg.pr.new/@tresjs/cientos@584

commit: 82f6bc7

Copy link
Copy Markdown
Contributor

@andretchen0 andretchen0 left a comment

Choose a reason for hiding this comment

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

Works!

There's a memory leak to patch up or work around.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(non-blocking)

Since this PR is correcting typos, maybe it's time to rename this envScene?

Comment thread src/core/staging/useEnvironment/component.vue Outdated
Comment thread src/core/staging/useEnvironment/component.vue Outdated
… improved resource management and texture handling
…sting meshes and updating background properties to avoid memory leaks
@alvarosabu alvarosabu merged commit 653a5df into main Jan 17, 2025
@alvarosabu alvarosabu deleted the bugfix/581-environment-lightformers-are-not-working branch January 17, 2025 14:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working p4-important-bug Violate documented behavior or significantly improve performance (priority)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Environment Lightformers are not working

2 participants