Skip to content

Commit 27e8015

Browse files
committed
Fix - do not use pad range with surf draw option
In 3D mode pad ranges are screewed
1 parent bf3a83f commit 27e8015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRootPainter.more.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4627,7 +4627,7 @@
46274627
this._can_move_colz = true;
46284628

46294629
// special case for root 3D drawings - user range is wired
4630-
if ((this.options.Contour !==14) && !this.options.Lego)
4630+
if ((this.options.Contour !==14) && !this.options.Lego && !this.options.Surf)
46314631
this.CheckPadRange();
46324632

46334633
this.ScanContent();

0 commit comments

Comments
 (0)