Skip to content

Conversation

@abernier
Copy link
Member

@abernier abernier commented May 12, 2023

  • not missing .dispose()ing object
  • lazy setter
  • move to effects/ folder

@@ -1,3 +1,4 @@
export * from './effects/Autofocus'
Copy link
Member Author

Choose a reason for hiding this comment

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

I moved Autofocus to the effects/ folder

Comment on lines +59 to +60
depthPickingPass.dispose()
copyPass.dispose()
Copy link
Member Author

Choose a reason for hiding this comment

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

not missing .dispose() this time

Comment on lines +46 to +47
const [depthPickingPass] = useState(() => new DepthPickingPass())
const [copyPass] = useState(() => new CopyPass())
Copy link
Member Author

Choose a reason for hiding this comment

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

lazy setter

@talentlessguy
Copy link
Member

can you create a CSB or StackBlitz to test if it's working?

@abernier
Copy link
Member Author

abernier commented May 12, 2023

I'm actually taking the opportunity to setup Storybook for the repo (like we have in rt/drei), so we can test rt/pp components directly from source-code in this PR: #202

@abernier
Copy link
Member Author

can you create a CSB or StackBlitz to test if it's working?

Yes, I've tested it on my csb https://codesandbox.io/s/dfw6w4, it is working as before :)

@abernier abernier merged commit 5d69491 into master May 12, 2023
@abernier abernier deleted the abernier/autofocus-fix01 branch May 12, 2023 14:37
@github-actions
Copy link

🎉 This PR is included in version 2.11.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

4 participants