Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@GoulielmosFloros
Copy link
Contributor

Description

There is a misalignment of the label and highlighted area of any model that is not loaded in the center of the grid. Therefore when more than 1 model is added or the position of the model changes we get a wrong positioned label.

The reason is the position of the mesh comes from the geometry value that it does not update its position values relatively to the rest of the world.

Therefore I have added a line of code to update the selected mesh's position based on its position coordinates outside of its geometry that reference the position correctly.

Reviewed-By: Goulielmos Floros
Refs: #533

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following:

  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Follow the Conventional Commits v1.0.0 standard for PR naming (e.g. feat(examples): add hello-world example).
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

There is a misalignment of the label and highlighted area of any model that is not loaded in the center of the grid. Therefore when more than 1 model is added or the position of the model changes we get a wrong positioned label.

The reason is the position of the mesh comes from the geometry value that it does not update its position values relatively to the rest of the world.

Therefore I have added a line of code to update the selected mesh's position based on its position coordinates outside of its geometry that reference the position correctly.

Reviewed-By: Goulielmos Floros
Refs: ThatOpen#533
@HoyosJuan HoyosJuan merged commit 914b449 into ThatOpen:main Feb 18, 2025
development-ac pushed a commit to Active-Collective/ac_engine_components that referenced this pull request Aug 18, 2025
There is a misalignment of the label and highlighted area of any model that is not loaded in the center of the grid. Therefore when more than 1 model is added or the position of the model changes we get a wrong positioned label.

The reason is the position of the mesh comes from the geometry value that it does not update its position values relatively to the rest of the world.

Therefore I have added a line of code to update the selected mesh's position based on its position coordinates outside of its geometry that reference the position correctly.

Reviewed-By: Goulielmos Floros
Refs: ThatOpen#533
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.

2 participants