File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ function render(scene) {
169
169
scene . drawAnnotations ( scene ) ;
170
170
}
171
171
172
- function initializeGLPlot ( scene , fullLayout , canvas , gl ) {
172
+ function initializeGLPlot ( scene , canvas , gl ) {
173
173
var gd = scene . graphDiv ;
174
174
175
175
var glplotOptions = {
@@ -318,7 +318,7 @@ function Scene(options, fullLayout) {
318
318
this . convertAnnotations = Registry . getComponentMethod ( 'annotations3d' , 'convert' ) ;
319
319
this . drawAnnotations = Registry . getComponentMethod ( 'annotations3d' , 'draw' ) ;
320
320
321
- if ( ! initializeGLPlot ( this , fullLayout ) ) return ; // todo check the necessity for this line
321
+ if ( ! initializeGLPlot ( this ) ) return ; // todo check the necessity for this line
322
322
}
323
323
324
324
var proto = Scene . prototype ;
@@ -334,7 +334,7 @@ proto.recoverContext = function() {
334
334
requestAnimationFrame ( tryRecover ) ;
335
335
return ;
336
336
}
337
- if ( ! initializeGLPlot ( scene , scene . fullLayout , canvas , gl ) ) {
337
+ if ( ! initializeGLPlot ( scene , canvas , gl ) ) {
338
338
Lib . error ( 'Catastrophic and unrecoverable WebGL error. Context lost.' ) ;
339
339
return ;
340
340
}
You can’t perform that action at this time.
0 commit comments