Skip to content

Commit 82da5c2

Browse files
committed
Do not create transform control in batch
1 parent 5578e7e commit 82da5c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/geom/TGeoPainter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,7 @@ class TGeoPainter extends ObjectPainter {
18101810

18111811
/** @summary add transformation control */
18121812
addTransformControl() {
1813-
if (this._tcontrols) return;
1813+
if (this._tcontrols || !this._webgl || isBatchMode()) return;
18141814

18151815
if (!this.ctrl._debug && !this.ctrl._grid) return;
18161816

0 commit comments

Comments
 (0)