Skip to content

Commit 2ea7c44

Browse files
authored
Merge pull request #294 from NeerajW/master
Increment SpatialMappingSource UpdateID based on mesh updates
2 parents 43df3f4 + fdd54ff commit 2ea7c44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/HoloToolkit/SpatialMapping/Scripts/SpatialMappingSource.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ protected void UpdateSurfaceObject(GameObject gameObject, int meshID)
9191
{
9292
SurfaceObject thisSurfaceObject = SurfaceObjects[i];
9393
thisSurfaceObject.ID = meshID;
94+
thisSurfaceObject.UpdateID++;
9495
SurfaceObjects[i] = thisSurfaceObject;
9596
return;
9697
}

0 commit comments

Comments
 (0)