Skip to content

Commit 99bb138

Browse files
committed
skip update stage if min pixel size not set
1 parent 3d31c97 commit 99bb138

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/engine/Source/Scene/Model/ModelInstancesUpdateStage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ ModelInstancesUpdateStage.update = function (
2626
frameState,
2727
) {
2828
if (
29-
!sceneGraph.modelInstances._dirty ||
29+
(!sceneGraph.modelInstances._dirty &&
30+
sceneGraph._model.minimumPixelSize === 0) ||
3031
!sceneGraph._model._drawCommandsBuilt
3132
) {
3233
return;

0 commit comments

Comments
 (0)