Skip to content

Commit 416ac6e

Browse files
committed
Fix - typo in pad update
1 parent c3547a0 commit 416ac6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/JSRootPainter.v6.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3538,7 +3538,7 @@
35383538
this.is_active_pad = !!snap.fActive; // enforce boolean flag
35393539

35403540
var first = snap.fSnapshot;
3541-
first.fPrimitives = null; // primitives are not interesting, just cannot disable it in IO
3541+
first.fPrimitives = null; // primitives are not interesting, they are disabled in IO
35423542

35433543
if (this.snapid === undefined) {
35443544
// first time getting snap, create all gui elements first
@@ -3588,7 +3588,7 @@
35883588
var sub = this.painters[k];
35893589
if (sub.snapid===undefined) continue; // look only for painters with snapid
35903590

3591-
for (var i=9;i<snap.fPrimitives.length;++i)
3591+
for (var i=0;i<snap.fPrimitives.length;++i)
35923592
if (snap.fPrimitives[i].fObjectID === sub.snapid) { sub = null; isanyfound = true; break; }
35933593

35943594
if (sub) {

0 commit comments

Comments
 (0)