|
@@ -948,7 +948,9 @@ function renderInitCallback() { |
|
|
oldRenderer.fadeImg.style.opacity = 0; |
|
|
oldRenderer.fadeImg.style.opacity = 0; |
|
|
// Remove image |
|
|
// Remove image |
|
|
setTimeout(function() { |
|
|
setTimeout(function() { |
|
|
renderContainer.removeChild(oldRenderer.fadeImg); |
|
|
|
|
|
|
|
|
if(oldRenderer && oldRenderer.fadeImg){ |
|
|
|
|
|
renderContainer.removeChild(oldRenderer.fadeImg); |
|
|
|
|
|
} |
|
|
oldRenderer = undefined; |
|
|
oldRenderer = undefined; |
|
|
}, config.sceneFadeDuration); |
|
|
}, config.sceneFadeDuration); |
|
|
} |
|
|
} |
|
|