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 canvas utility removed from prefabs unintentionally #559

Merged
merged 2 commits into from
May 3, 2020

Conversation

FejZa
Copy link
Contributor

@FejZa FejZa commented May 3, 2020

XRTK - Mixed Reality Toolkit Change Request

Overview

Fixes the issue of a CanvasUtility being removed from a GameObject/Prefab without the user's consent. The utility will only get removed from a game object if

  • The user answers No in the dialog prompt
  • The user answers Never in the dialog prompt

This "fix" may lead to a CanvasUtility staying on a canvas that was set to Screen Space or modified in a way that it doesn't need a utility anymore. Or XRTK got removed from the scene or something. But that's better than having the user wonder why something stopped working because for some reason the utility got removed from his canvas.

@FejZa FejZa requested a review from StephenHodgson May 3, 2020 17:08
@StephenHodgson StephenHodgson mentioned this pull request May 3, 2020
36 tasks
@FejZa FejZa merged commit 0428740 into development May 3, 2020
@FejZa FejZa deleted the fix/canvas-utility branch May 3, 2020 17:47
XRTK-Build-Bot pushed a commit that referenced this pull request Dec 25, 2020
* Only remove utility if answer in dialog is cancel or never

* Cleanup namespace
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.

None yet

2 participants