| Index: samples/o3djs/util.js
|
| ===================================================================
|
| --- samples/o3djs/util.js (revision 20972)
|
| +++ samples/o3djs/util.js (working copy)
|
| @@ -853,7 +853,10 @@
|
| for (var cc = 0; cc < clientElements.length; ++cc) {
|
| var element = clientElements[cc];
|
| o3d = element.o3d;
|
| - if (!o3d) {
|
| + var status = element.client && element.client.rendererInitStatus;
|
| + var ready = o3d && status >
|
| + o3djs.util.rendererInitStatus.UNINITIALIZED;
|
| + if (!ready) {
|
| if (chromeWorkaround) {
|
| if (element.style.width != '100%') {
|
| element.style.width = '100%';
|
| @@ -868,7 +871,6 @@
|
| element.style.width = '100%';
|
| return;
|
| }
|
| - var status = clientElements[cc].client.rendererInitStatus;
|
| // keep the highest status. This is the worst status.
|
| if (status > initStatus) {
|
| initStatus = status;
|
|
|