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: highlight now draws all submeshes not only the first #46

Conversation

Maxsiom
Copy link
Contributor

@Maxsiom Maxsiom commented Aug 27, 2020

Description

The InteractableHighlighter only drew the first submesh of the mesh filter.
Now it draws all submeshes.

Fixes: # TRNG-1061

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Using different objects with multiple meshes (submeshes) like the winkelschrauber.fbx provided in this ticket. Then highlight it with the highlight behavior.

ezgif-4-3611073d0b20

Test Configuration:

Aditional Notes

Checklist

  • [x ] My code follows the Coding Conventions
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

The InteractableHighlighter only drew the first submesh of the mesh filter.
Now it draws all submeshes.
Copy link
Contributor

@Gusinuhe Gusinuhe left a comment

Choose a reason for hiding this comment

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

Works like a charm 👌

@aleksei-korolev
Copy link
Contributor

@SimonTheSourcerer doesn't this PR becomes obsolete with our tickets?

@tomwim
Copy link
Contributor

tomwim commented Aug 28, 2020

@SimonTheSourcerer doesn't this PR becomes obsolete with our tickets?

Why would it?

@SimonTheSourcerer
Copy link
Contributor

It does not get obsolete, it looks perfect and should merged asap

@SimonTheSourcerer SimonTheSourcerer merged commit 3a95551 into develop Aug 31, 2020
@SimonTheSourcerer SimonTheSourcerer deleted the fix/higlight-draws-all-submeshes-not-only-the-first-TRNG-1061 branch August 31, 2020 13:26
@ci-innoactive
Copy link
Collaborator

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants