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

Orientation views(nav cube) don't work well when initial rotation is applied. #1371

Open
intrida-dev opened this issue Feb 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@intrida-dev
Copy link

Describe the bug
When we apply initial rotation to model, then orientation views are not set correctly from nav cube. It works well when we don't have any rotation. This issue occurred when we updated xeokit sdk to 2.4.2-beta-31. This issue is still there in latest veresion 2.5.2-beta-22.

I have attached a zip file containing a sample code to reproduce the issue and a video explaining the issue. Please have a look at it.
Uploading New folder.zip…

To Reproduce
Steps to reproduce the behavior:

  1. Run the sample application provided in zip
  2. Click on different orientation views (Front, Back, Right, Left etc)
  3. You will see the views are not correct
  4. Now go to index.js and comment the rotation option from xktLoader.load function call.
  5. Now you will see all orientation views working well.

Screenshots
image
image
image

@paireks
Copy link
Member

paireks commented Feb 14, 2024

Hello :)

Can you attach a zip file once again? It references to this issue :)

I wonder if it isn't related to this issue: #1316

@intrida-dev
Copy link
Author

Thanks for reply, paireks.

I am attaching the zip here.
New folder.zip

Also I will check the issue: #1316

@paireks paireks added the bug Something isn't working label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants