We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a4cb1 commit 9fb7f8cCopy full SHA for 9fb7f8c
Runtime/Mapbox/VectorModule/VectorLayerVisualizer.cs
@@ -219,6 +219,7 @@ protected List<GameObject> GameObjectModifications(CanonicalTileId canonicalTile
219
if(!_results.ContainsKey(canonicalTileId))
220
_results.Add(canonicalTileId, new List<VectorEntity>());
221
_results[canonicalTileId].Add(entity);
222
+ entity.Mesh.RecalculateBounds();
223
OnVectorMeshCreated(entity.GameObject);
224
}
225
@@ -312,4 +313,4 @@ protected MeshData CombineMeshData(HashSet<MeshData> meshDataList)
312
313
public Action<GameObject> OnVectorMeshCreated = list => { };
314
public Action<GameObject> OnVectorMeshDestroyed = go => { };
315
-}
316
+}
0 commit comments