Skip to content

Commit

Permalink
Merge pull request #6972 from AnalyticalGraphicsInc/remove-in-1.49
Browse files Browse the repository at this point in the history
Remove createLensFlarStage
  • Loading branch information
Hannah authored Aug 29, 2018
2 parents d6e03a2 + c657666 commit c54df91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
13 changes: 0 additions & 13 deletions Source/Scene/PostProcessStageLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});

0 comments on commit c54df91

Please sign in to comment.