You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm this issue and was able to reproduce it with the below Sandcastle snippet. Just run the code and hit the Crash Me button to trigger the exception. CC @bagnell
require(['Cesium'], function(Cesium) {
"use strict";
var viewer = new Cesium.Viewer('cesiumContainer');
viewer.extend(Cesium.viewerDynamicObjectMixin);
viewer.sceneTransitioner.to2D();
Sandcastle.addToolbarButton('Crash Me', function() {
for(var i = 0; i < 500; i++){
viewer.scene.getCamera().controller.zoomIn();
}
});
Sandcastle.finishedLoading();
});
When performing zoom-in in 2D mode, using the zoomIn() function, after a few calls to the function, a DeveloperError occurs.
for example, when using a button to call the following code in the Sandcastle:
after zooming a few times the program stopped working and gave me the next error:
An error occurred while rendering. Rendering has stopped.
DeveloperError: right must be greater than left.
Error
at new DeveloperError (http://cesiumjs.org/Cesium/Source/Core/DeveloperError.js:37:17)
at update (http://cesiumjs.org/Cesium/Source/Scene/OrthographicFrustum.js:107:23)
at OrthographicFrustum.getPixelSize (http://cesiumjs.org/Cesium/Source/Scene/OrthographicFrustum.js:295:9)
at UniformState.update (http://cesiumjs.org/Cesium/Source/Renderer/UniformState.js:263:40)
at Scene.render (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:889:12)
at CesiumWidget.render (http://cesiumjs.org/Cesium/Source/Widgets/CesiumWidget/CesiumWidget.js:542:25)
at Viewer.render (http://cesiumjs.org/Cesium/Source/Widgets/Viewer/Viewer.js:701:28)
at render (http://cesiumjs.org/Cesium/Source/Widgets/Viewer/Viewer.js:69:28)
The text was updated successfully, but these errors were encountered: