Skip to content

Commit 2af7371

Browse files
committed
update test
1 parent 063dbd0 commit 2af7371

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/engine/Specs/Scene/Model/RuntimeModelInstancingPipelineStageSpec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ describe(
9595
statistics: new ModelStatistics(),
9696
sceneGraph: new ModelSceneGraph(),
9797
scale: 1,
98+
minimumPixelSize: 0,
9899
},
99100
runtimeNode: {
100101
node: node,
@@ -285,7 +286,11 @@ describe(
285286
const sampleInstance3 = new ModelInstance(instanceModelMatrix3);
286287
const sampleInstance4 = new ModelInstance(instanceModelMatrix4);
287288

289+
// mock resources for ModelInstancesUpdateStage
288290
sceneGraph.modelInstances._instances = [sampleInstance3, sampleInstance4];
291+
sceneGraph._model = {
292+
minimumPixelSize: 0,
293+
};
289294
const frameState = {
290295
mode: SceneMode.SCENE3D,
291296
};

0 commit comments

Comments
 (0)