Skip to content

Commit 8345755

Browse files
author
David Kline
authored
Merge pull request #3766 from davidkline-ms/inputprofilefix
Fix error when auto-configuring input data provider
2 parents 9cc3453 + 693acef commit 8345755

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Assets/MixedRealityToolkit.SDK/Profiles/DefaultMixedRealityInputSystemProfile.asset

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ MonoBehaviour:
4949
priority: 0
5050
runtimePlatform: 25
5151
deviceManagerProfile: {fileID: 0}
52+
- componentType:
53+
reference: Microsoft.MixedReality.Toolkit.Windows.Input.WindowsDictationInputProvider,
54+
Microsoft.MixedReality.Toolkit.Providers.WindowsVoiceInput
55+
componentName: Windows Dictation Input
56+
priority: 0
57+
runtimePlatform: 25
58+
deviceManagerProfile: {fileID: 0}
5259
- componentType:
5360
reference: Microsoft.MixedReality.Toolkit.Input.HandJointService, Microsoft.MixedReality.Toolkit
5461
componentName: Hand Joint Service

Assets/MixedRealityToolkit/Inspectors/Profiles/MixedRealityInputSystemProfileInspector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ private void RenderList(SerializedProperty list)
269269
serializedObject.ApplyModifiedProperties();
270270
System.Type type = ((MixedRealityInputSystemProfile)serializedObject.targetObject).DataProviderConfigurations[i].ComponentType.Type;
271271
ApplyDataProviderConfiguration(type, providerName, configurationProfile, runtimePlatform);
272+
break;
272273
}
273274

274275
EditorGUI.BeginChangeCheck();

0 commit comments

Comments
 (0)