@@ -471,12 +471,12 @@ proto.recoverContext = function() {
471
471
var axisProperties = [ 'xaxis' , 'yaxis' , 'zaxis' ] ;
472
472
473
473
function computeTraceBounds ( scene , trace , bounds ) {
474
- var sceneLayout = scene . fullSceneLayout ;
474
+ var fullSceneLayout = scene . fullSceneLayout ;
475
475
476
476
for ( var d = 0 ; d < 3 ; d ++ ) {
477
477
var axisName = axisProperties [ d ] ;
478
478
var axLetter = axisName . charAt ( 0 ) ;
479
- var ax = sceneLayout [ axisName ] ;
479
+ var ax = fullSceneLayout [ axisName ] ;
480
480
var coords = trace [ axLetter ] ;
481
481
var calendar = trace [ axLetter + 'calendar' ] ;
482
482
var len = trace [ '_' + axLetter + 'length' ] ;
@@ -509,13 +509,13 @@ function computeTraceBounds(scene, trace, bounds) {
509
509
}
510
510
511
511
function computeAnnotationBounds ( scene , bounds ) {
512
- var sceneLayout = scene . fullSceneLayout ;
513
- var annotations = sceneLayout . annotations || [ ] ;
512
+ var fullSceneLayout = scene . fullSceneLayout ;
513
+ var annotations = fullSceneLayout . annotations || [ ] ;
514
514
515
515
for ( var d = 0 ; d < 3 ; d ++ ) {
516
516
var axisName = axisProperties [ d ] ;
517
517
var axLetter = axisName . charAt ( 0 ) ;
518
- var ax = sceneLayout [ axisName ] ;
518
+ var ax = fullSceneLayout [ axisName ] ;
519
519
520
520
for ( var j = 0 ; j < annotations . length ; j ++ ) {
521
521
var ann = annotations [ j ] ;
0 commit comments