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 placeonfloor function for models and primitives #57

Merged

Conversation

dfrancos-hub
Copy link
Contributor

1. Why is this change necessary?

The current logic for placing scene objects in the floor is not working for all primitives / groups / models because it assumes a fixed, centered pivot point.

2. What does this change do, exactly?

This change aims to fix the place on floor the function so it behaves the same regardless of where the pivot point is located for a model or primitive

3. link to the relevant issue:

https://shopware.atlassian.net/browse/NEXT-39988

@dfrancos-hub dfrancos-hub force-pushed the next-39988/fix-boundingbox-calculation-for-placeonfloor branch from a4db585 to 403a374 Compare December 12, 2024 10:40
@dfrancos-hub dfrancos-hub force-pushed the next-39988/fix-boundingbox-calculation-for-placeonfloor branch 2 times, most recently from a882296 to 119ca5a Compare December 12, 2024 15:21
src/model/Model.ts Outdated Show resolved Hide resolved
src/model/Model.ts Outdated Show resolved Hide resolved
src/model/Model.ts Outdated Show resolved Hide resolved
src/model/Model.ts Outdated Show resolved Hide resolved
src/primitive/Primitive.ts Outdated Show resolved Hide resolved
@ffrank913 ffrank913 force-pushed the next-39988/fix-boundingbox-calculation-for-placeonfloor branch from 21e7ef2 to 90b0261 Compare December 16, 2024 14:58
@ffrank913 ffrank913 merged commit 3033a52 into trunk Dec 16, 2024
7 checks passed
@ffrank913 ffrank913 deleted the next-39988/fix-boundingbox-calculation-for-placeonfloor branch December 16, 2024 15:01
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.

3 participants