We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a86942b commit 4abef71Copy full SHA for 4abef71
src/extensions/renderer/canvas/webgl/drawing-elements-webgl.mjs
@@ -556,6 +556,14 @@ export class ElementDrawingWebGL {
556
return;
557
}
558
559
+ // Edges are not drawn as textures
560
+ // Edges with invalid points could be passed here, causing errors
561
+ // Ref: Random "Script Error" thrown when generating nodes and edges in newest webgl version #3365
562
+ // https://github.com/cytoscape/cytoscape.js/issues/3365
563
+ if(ele.isEdge()) {
564
+ return;
565
+ }
566
+
567
if(this.renderTarget.picking && opts.getTexPickingMode) {
568
const mode = opts.getTexPickingMode(ele);
569
if(mode === TEX_PICKING_MODE.IGNORE) {
0 commit comments