Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Dev/editor platform flag #326

Merged
merged 2 commits into from
Sep 16, 2019
Merged

Conversation

StephenHodgson
Copy link
Contributor

XRTK - Mixed Reality Toolkit Change Request

Overview

Added editor platform flag to the supported platform enum to specify editor only services

Target of the change:

Is this enhancement for:

  • Core (core framework, interfaces and definitions)

Breaking Changes:

Are there any breaking changes included in this change that would prevent or cause issue for existing projects.

  • Breaks: All existing data provider profiles. All profiles will need to add the Editor flag to run in the editor by default, and update their platforms.

@StephenHodgson StephenHodgson added the In Progress PR currently still being developed label Sep 15, 2019
@StephenHodgson StephenHodgson added Ready for review PR finished primary development, open for review and removed In Progress PR currently still being developed labels Sep 15, 2019
GltfObject gltfObject = null;

// If a specific controller template exists, check if it wants to override the global model, or use the system default specifically (in case global default is not used)
bool useSystemDefaultModels = visualizationProfile.GetControllerModelOverride(controllerType, ControllerHandedness, out controllerModel);
bool useSystemDefaultModels = visualizationProfile.GetControllerModelOverride(controllerType, ControllerHandedness, out var controllerModel);
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a fan of var here but I guess that's personal preference.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just a product of in-lining the out variable. I don't really mind, more concise.

@StephenHodgson StephenHodgson merged commit 1e17880 into development Sep 16, 2019
@StephenHodgson StephenHodgson deleted the dev/editor-platform-flag branch September 16, 2019 14:38
XRTK-Build-Bot pushed a commit that referenced this pull request Sep 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Breaking Change Ready for review PR finished primary development, open for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants