2
0
Эх сурвалжийг харах

Don't render scene while images are loading. Speeds-up large scenes loading a LOT

trethaller 6 жил өмнө
parent
commit
3bb39f0f26
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      hide/comp/Scene.hx

+ 1 - 1
hide/comp/Scene.hx

@@ -171,7 +171,7 @@ class Scene extends Component implements h3d.IDrawable {
 			ide.unregisterUpdate(sync);
 			return;
 		}
-		if( !visible || (!Ide.inst.isFocused && !refreshIfUnfocused) )
+		if( !visible || (!Ide.inst.isFocused && !refreshIfUnfocused) || pendingCount > 0)
 			return;
 		refreshIfUnfocused = false;
 		setCurrent();