Fix scope for modelInstances handling in ViewportHost
This commit is contained in:
@@ -4897,7 +4897,7 @@ export class ViewportHost {
|
|||||||
boundingBox: this.getModelAssetBoundingBox(session.target.assetId)
|
boundingBox: this.getModelAssetBoundingBox(session.target.assetId)
|
||||||
})
|
})
|
||||||
: [];
|
: [];
|
||||||
case "modelInstances":
|
case "modelInstances": {
|
||||||
if (preview.kind !== "modelInstances") {
|
if (preview.kind !== "modelInstances") {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
@@ -4914,6 +4914,7 @@ export class ViewportHost {
|
|||||||
)
|
)
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
}
|
||||||
case "entity": {
|
case "entity": {
|
||||||
if (
|
if (
|
||||||
preview.kind !== "entity" ||
|
preview.kind !== "entity" ||
|
||||||
|
|||||||
Reference in New Issue
Block a user