|
@@ -626,9 +626,7 @@
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- let subMesh = subMeshes[currentIndex];
|
|
|
|
-
|
|
|
|
- if (this.isReady(subMesh, options ? options.useInstances : false)) {
|
|
|
|
|
|
+ while (this.isReady(subMeshes[currentIndex], options ? options.useInstances : false)) {
|
|
currentIndex++;
|
|
currentIndex++;
|
|
if (currentIndex >= subMeshes.length) {
|
|
if (currentIndex >= subMeshes.length) {
|
|
if (onCompiled) {
|
|
if (onCompiled) {
|