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 eb7b662 commit 31b7ae6Copy full SHA for 31b7ae6
src/viewer/Viewer.js
@@ -363,22 +363,6 @@ class Viewer {
363
this.sendToPlugins("snapshotStarting"); // Tells plugins to hide things that shouldn't be in snapshot
364
}
365
366
- const captured = {};
367
- for (let i = 0, len = this._plugins.length; i < len; i++) {
368
- const plugin = this._plugins[i];
369
- if (plugin.getContainerElement) {
370
- const container = plugin.getContainerElement();
371
- if (container !== document.body) {
372
- if (!captured[container.id]) {
373
- captured[container.id] = true;
374
- html2canvas(container).then(function (canvas) {
375
- document.body.appendChild(canvas);
376
- });
377
- }
378
379
380
381
-
382
// firing "rendering" is necessary to trigger DTX{Lines,Triangles}Layer::_uploadDeferredFlags
383
this.scene.fire("rendering", { }, true);
384
0 commit comments