Skip to content

Commit 7ee9fa4

Browse files
committed
Observer updates
1 parent cd0098f commit 7ee9fa4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/MixedRealityToolkit/Providers/BaseSpatialMeshObserver.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ protected BaseSpatialMeshObserver(
2525
uint priority = DefaultPriority,
2626
BaseMixedRealityProfile profile = null) : base(spatialAwarenessSystem, name, priority, profile)
2727
{
28-
ReadProfile();
2928
}
3029

3130
#region BaseSpatialMeshObserver Implementation
@@ -162,6 +161,8 @@ public override void Initialize()
162161
meshEventData = new MixedRealitySpatialAwarenessEventData<SpatialAwarenessMeshObject>(EventSystem.current);
163162

164163
base.Initialize();
164+
165+
ReadProfile();
165166
}
166167

167168
#endregion IMixedRealityDataProvider Implementation

0 commit comments

Comments
 (0)