From 0330e28d56936856e42d177979c4f04f35dfed8b Mon Sep 17 00:00:00 2001 From: MzyzzG Date: Sun, 16 Mar 2025 02:14:03 +0100 Subject: [PATCH] Fix #7387: Specify buffers in regl.clear() to avoid performance warning --- src/traces/scattergl/plot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/traces/scattergl/plot.js b/src/traces/scattergl/plot.js index 214d62ab656..4a86b3898bd 100644 --- a/src/traces/scattergl/plot.js +++ b/src/traces/scattergl/plot.js @@ -60,12 +60,12 @@ var exports = module.exports = function plot(gd, subplot, cdata) { linkTraces(gd, subplot, cdata); if(scene.dirty) { - if( + if ( (scene.line2d || scene.error2d) && !(scene.scatter2d || scene.fill2d || scene.glText) ) { // Fixes shared WebGL context drawing lines only case - regl.clear({}); + regl.clear({ color: true, depth: true }); } // make sure scenes are created pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy