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 capsule selection #319

Merged
merged 1 commit into from
May 11, 2021
Merged

Fix capsule selection #319

merged 1 commit into from
May 11, 2021

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented May 7, 2021

Signed-off-by: Ian Chen [email protected]

🦟 Bug fix

Fixes #283

Summary

The mesh that is created by these lines is more like templates so we should not be giving it a unique name. We then create an instance of the mesh (Ogre::item) and assign it a unique name. However that's not the actual cause of the problem though. It seems like there is an issue that after the mesh with the original name (prefixed by Name(), e.g. scene::Capsule(65523)) is converted to an item, ogre is not able to find it on mouse click.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

@github-actions github-actions bot added the 🏢 edifice Ignition Edifice label May 7, 2021
Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

Tested!

@chapulina
Copy link
Contributor

Ohhhh thanks for tracking that down!

@iche033 iche033 merged commit 80101bb into ign-rendering5 May 11, 2021
@iche033 iche033 deleted the capsule_selection_fix branch May 11, 2021 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏢 edifice Ignition Edifice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't select capsule objects in the 3D scene
3 participants