Skip to content

Commit 88f04c3

Browse files
jtorresfabrastepankuzmin
authored andcommitted
Use layer.fqid for landmark bucket creation and conflation (internal-920)
1 parent 39c7a8f commit 88f04c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

3d-style/source/tiled_3d_model_worker_source.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Tiled3dWorkerTile {
7171
const bucket = new Tiled3dModelBucket(nodes, tileID, extensions && extensions.includes("MAPBOX_mesh_features"), this.brightness);
7272
// Upload to GPU without waiting for evaluation if we are in diffuse path
7373
if (!hasMapboxMeshFeatures) bucket.needsUpload = true;
74-
buckets[layer.id] = bucket;
74+
buckets[layer.fqid] = bucket;
7575
// do the first evaluation in the worker to avoid stuttering
7676
// $FlowIgnore[incompatible-call] layer here is always a ModelStyleLayer
7777
bucket.evaluate(layer);

src/render/painter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ class Painter {
633633
continue;
634634
}
635635

636-
conflationSources.push({layer: layer.id, cache: sourceCache});
636+
conflationSources.push({layer: layer.fqid, cache: sourceCache});
637637
}
638638

639639
this.replacementSource.setSources(conflationSources);

0 commit comments

Comments
 (0)