Skip to content

Commit

Permalink
Merge pull request #4551 from fredj/cleanup_scene_transitioner
Browse files Browse the repository at this point in the history
SceneTransitioner instantiation
  • Loading branch information
mramato authored Oct 31, 2016
2 parents 8126d5d + 8a64c70 commit b097124
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Source/Scene/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,6 @@ define([

this._mapProjection = defined(options.mapProjection) ? options.mapProjection : new GeographicProjection();

this._transitioner = new SceneTransitioner(this, this._mapProjection.ellipsoid);

/**
* The current morph transition time between 2D/Columbus View and 3D,
* with 0.0 being 2D or Columbus View and 1.0 being 3D.
Expand Down
2 changes: 1 addition & 1 deletion Source/Scene/SceneTransitioner.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ define([
/**
* @private
*/
function SceneTransitioner(scene, ellipsoid) {
function SceneTransitioner(scene) {
//>>includeStart('debug', pragmas.debug);
if (!defined(scene)) {
throw new DeveloperError('scene is required.');
Expand Down

0 comments on commit b097124

Please sign in to comment.