Skip to content

Commit 5bba5e7

Browse files
committed
removed unused variable
1 parent 113fb63 commit 5bba5e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plots/gl3d/scene.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function render(scene) {
169169
scene.drawAnnotations(scene);
170170
}
171171

172-
function initializeGLPlot(scene, fullLayout, canvas, gl) {
172+
function initializeGLPlot(scene, canvas, gl) {
173173
var gd = scene.graphDiv;
174174

175175
var glplotOptions = {
@@ -318,7 +318,7 @@ function Scene(options, fullLayout) {
318318
this.convertAnnotations = Registry.getComponentMethod('annotations3d', 'convert');
319319
this.drawAnnotations = Registry.getComponentMethod('annotations3d', 'draw');
320320

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
322322
}
323323

324324
var proto = Scene.prototype;
@@ -334,7 +334,7 @@ proto.recoverContext = function() {
334334
requestAnimationFrame(tryRecover);
335335
return;
336336
}
337-
if(!initializeGLPlot(scene, scene.fullLayout, canvas, gl)) {
337+
if(!initializeGLPlot(scene, canvas, gl)) {
338338
Lib.error('Catastrophic and unrecoverable WebGL error. Context lost.');
339339
return;
340340
}

0 commit comments

Comments
 (0)