Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(composer): Fix camera view positioning under sub model #341

Merged
merged 2 commits into from
Nov 10, 2022

Conversation

jwills-jdubs
Copy link
Contributor

Overview

Camera's do not get the right positioning when placed on a SubModelRef. This fix uses the non-submodel space for a sub model while maintaining hierarchical placement

Legal

This project is available under the Apache 2.0 License.

@jwills-jdubs jwills-jdubs marked this pull request as ready for review November 9, 2022 23:01
@jwills-jdubs jwills-jdubs force-pushed the camera-view-submodel-positioning branch from 37642bd to 432a256 Compare November 10, 2022 00:30
packages/scene-composer/src/utils/nodeUtils.ts Outdated Show resolved Hide resolved
@jwills-jdubs jwills-jdubs changed the title Fix camera view positioning under sub model Fix(composer): Fix camera view positioning under sub model Nov 10, 2022
@jwills-jdubs jwills-jdubs changed the title Fix(composer): Fix camera view positioning under sub model fix(composer): Fix camera view positioning under sub model Nov 10, 2022
@jwills-jdubs jwills-jdubs merged commit 94dcdda into main Nov 10, 2022
@jwills-jdubs jwills-jdubs deleted the camera-view-submodel-positioning branch November 10, 2022 01:48
@github-actions github-actions bot mentioned this pull request Nov 10, 2022
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.

None yet

2 participants