Cesium v1.49 Release Notes

Release Date: 2018-09-04 // over 5 years ago
  • ๐Ÿ’ฅ Breaking Changes :mega:
    • โœ‚ Removed ClippingPlaneCollection.clone. #6872
    • ๐Ÿ”„ Changed Globe.pick to return a position in ECEF coordinates regardless of the current scene mode. This will only effect you if you were working around a bug to make Globe.pick work in 2D and Columbus View. Use Globe.pickWorldCoordinates to get the position in world coordinates that correlate to the current scene mode. #6859
    • โœ‚ Removed the unused frameState parameter in evaluate and evaluateColor functions in Expression, StyleExpression, ConditionsExpression and all other places that call the functions. #6890
    • โœ‚ Removed PostProcessStageLibrary.createLensFlarStage. Use PostProcessStageLibrary.createLensFlareStage instead. #6972
    • โœ‚ Removed Scene.fxaa. Use Scene.postProcessStages.fxaa.enabled instead. #6980
    โž• Additions :tada:
    • โž• Added heightReference to BoxGraphics, CylinderGraphics and EllipsoidGraphics, which can be used to clamp these entity types to terrain. #6932
    • โž• Added GeocoderViewModel.destinationFound for specifying a function that is called upon a successful geocode. The default behavior is to fly to the destination found by the geocoder. #6915
    • โž• Added ClippingPlaneCollection.planeAdded and ClippingPlaneCollection.planeRemoved events. planeAdded is raised when a new plane is added to the collection and planeRemoved is raised when a plane is removed. #6875
    • โž• Added Matrix4.setScale for setting the scale on an affine transformation matrix #6888
    • โž• Added optional width and height to Scene.drillPick for specifying a search area. #6922
    • โž• Added Cesium3DTileset.root for getting the root tile of a tileset. #6944
    • โž• Added Cesium3DTileset.extras and Cesium3DTile.extras for getting application specific metadata from 3D Tiles. #6974
    ๐Ÿ›  Fixes :wrench:
    • ๐ŸŽ Several performance improvements and fixes to the 3D Tiles traversal code. #6390
      • Improved load performance when skipLevelOfDetail is false.
      • Fixed a bug that caused some skipped tiles to load when skipLevelOfDetail is true.
      • Fixed pick statistics in the 3D Tiles Inspector.
      • Fixed drawing of debug labels for external tilesets.
      • Fixed drawing of debug outlines for empty tiles.
    • The Geocoder widget now takes terrain altitude into account when calculating its final destination. #6876
    • The Viewer widget now takes terrain altitude into account when zooming or flying to imagery layers. #6895
    • ๐Ÿ›  Fixed Firefox camera control issues with mouse and touch events. #6372
    • ๐Ÿ›  Fixed getPickRay in 2D. #2480
    • ๐Ÿ›  Fixed Globe.pick for 2D and Columbus View. #6859
    • ๐Ÿ›  Fixed imagery layer feature picking in 2D and Columbus view. #6859
    • ๐Ÿ›  Fixed intermittent ground clamping issues for all entity types that use a height reference. #6930
    • ๐Ÿ›  Fixed bug that caused a new ClippingPlaneCollection to be created every frame when used with a model entity. #6872
    • ๐Ÿ‘Œ Improved Plane entities so they are better aligned with the globe surface. #6887
    • ๐Ÿ›  Fixed crash when rendering translucent objects when all shadow maps in the scene set fromLightSource to false. #6883
    • ๐Ÿ›  Fixed night shading in 2D and Columbus view. #4122
    • ๐Ÿ›  Fixed model loading failure when a glTF 2.0 primitive does not have a material. 6906
    • ๐Ÿ›  Fixed a crash when setting show to false on a polyline clamped to the ground. #6912
    • ๐Ÿ›  Fixed a bug where Cesium3DTileset wasn't using the correct tilesetVersion. #6933
    • ๐Ÿ›  Fixed crash that happened when calling scene.pick after setting a new terrain provider. #6918
    • ๐Ÿ›  Fixed an issue that caused the browser to hang when using drillPick on a polyline clamped to the ground. 6907
    • ๐Ÿ›  Fixed an issue where color wasn't updated properly for polylines clamped to ground. #6927
    • ๐Ÿ›  Fixed an excessive memory use bug that occurred when a data URI was used to specify a glTF model. #6928
    • ๐Ÿ›  Fixed an issue where switching from 2D to 3D could cause a crash. #6929
    • ๐Ÿ›  Fixed an issue where point primitives behind the camera would appear in view. #6904
    • ๐Ÿ— The createGroundPolylineGeometry web worker no longer depends on GroundPolylinePrimitive, making the worker smaller and potentially avoiding a hanging build in some webpack configurations. #6946
    • ๐Ÿ›  Fixed an issue that cause terrain entities (entities with unspecified height) and GroundPrimitives to fail when crossing the international date line. #6951
    • ๐Ÿ›  Fixed normal calculation for CylinderGeometry when the top radius is not equal to the bottom radius #6863