From 026732d4c821b12dfe535286f212b60273310e48 Mon Sep 17 00:00:00 2001 From: ggetz Date: Wed, 29 Aug 2018 10:19:48 -0400 Subject: [PATCH 1/2] Remove createLensFlarStage --- Source/Scene/PostProcessStageLibrary.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Source/Scene/PostProcessStageLibrary.js b/Source/Scene/PostProcessStageLibrary.js index babb7abfdffe..35a42473c6ac 100644 --- a/Source/Scene/PostProcessStageLibrary.js +++ b/Source/Scene/PostProcessStageLibrary.js @@ -776,18 +776,5 @@ define([ }); }; - /** - * Renaming createLensFlarStage to createLensFlareStage would lead to breaking change - * @deprecated - * @private - */ - PostProcessStageLibrary.createLensFlarStage = function() { - deprecationWarning( - 'PostProcessStageLibrary.createLensFlarStage', - 'createLensFlarStage has been deprecated and will be removed in Cesium 1.49. Use createLensFlareStage instead' - ); - return PostProcessStageLibrary.createLensFlareStage(); - }; - return PostProcessStageLibrary; }); From c65766663778762197583d0a06da9613327f29b9 Mon Sep 17 00:00:00 2001 From: ggetz Date: Wed, 29 Aug 2018 10:53:07 -0400 Subject: [PATCH 2/2] Update CHANGES.md --- CHANGES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 4d5593182e42..220e10b68600 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,7 +6,8 @@ Change Log ##### Breaking Changes :mega: * Removed `ClippingPlaneCollection.clone` [#6872](https://github.com/AnalyticalGraphicsInc/cesium/pull/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](https://github.com/AnalyticalGraphicsInc/cesium/pull/6859) -* Removed the unused `frameState` parameter in `evaluate` and `evaluateColor` functions in `Expression`, `StyleExpression`, `ConditionsExpression` and all other places that call the functions. [#6890](https://github.com/AnalyticalGraphicsInc/cesium/pull/6890). +* Removed the unused `frameState` parameter in `evaluate` and `evaluateColor` functions in `Expression`, `StyleExpression`, `ConditionsExpression` and all other places that call the functions. [#6890](https://github.com/AnalyticalGraphicsInc/cesium/pull/6890) +* Removed `PostProcessStageLibrary.createLensFlarStage`. Use `PostProcessStageLibrary.createLensFlareStage` instead. [#6972](https://github.com/AnalyticalGraphicsInc/cesium/pull/6972) ##### Additions :tada: * 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](https://github.com/AnalyticalGraphicsInc/cesium/pull/6875)