@@ -471,12 +471,12 @@ proto.recoverContext = function() {
471471var axisProperties = [ 'xaxis' , 'yaxis' , 'zaxis' ] ;
472472
473473function computeTraceBounds ( scene , trace , bounds ) {
474- var sceneLayout = scene . fullSceneLayout ;
474+ var fullSceneLayout = scene . fullSceneLayout ;
475475
476476 for ( var d = 0 ; d < 3 ; d ++ ) {
477477 var axisName = axisProperties [ d ] ;
478478 var axLetter = axisName . charAt ( 0 ) ;
479- var ax = sceneLayout [ axisName ] ;
479+ var ax = fullSceneLayout [ axisName ] ;
480480 var coords = trace [ axLetter ] ;
481481 var calendar = trace [ axLetter + 'calendar' ] ;
482482 var len = trace [ '_' + axLetter + 'length' ] ;
@@ -509,13 +509,13 @@ function computeTraceBounds(scene, trace, bounds) {
509509}
510510
511511function computeAnnotationBounds ( scene , bounds ) {
512- var sceneLayout = scene . fullSceneLayout ;
513- var annotations = sceneLayout . annotations || [ ] ;
512+ var fullSceneLayout = scene . fullSceneLayout ;
513+ var annotations = fullSceneLayout . annotations || [ ] ;
514514
515515 for ( var d = 0 ; d < 3 ; d ++ ) {
516516 var axisName = axisProperties [ d ] ;
517517 var axLetter = axisName . charAt ( 0 ) ;
518- var ax = sceneLayout [ axisName ] ;
518+ var ax = fullSceneLayout [ axisName ] ;
519519
520520 for ( var j = 0 ; j < annotations . length ; j ++ ) {
521521 var ann = annotations [ j ] ;
0 commit comments