Skip to content

Commit 04bf4bb

Browse files
committed
Bug fix - add interactivity when switching 2d/3d modes
1 parent 2778616 commit 04bf4bb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

scripts/JSRootCore.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
var jsroot = factory({});
1111

12-
1312
var dir = jsroot.source_dir + "scripts/", ext = jsroot.source_min ? ".min" : "";
1413

1514
var paths = {
@@ -75,7 +74,6 @@
7574
}
7675
});
7776

78-
7977
// AMD. Register as an anonymous module.
8078
define( jsroot );
8179

@@ -96,7 +94,7 @@
9694
}
9795
} (function(JSROOT) {
9896

99-
JSROOT.version = "dev 23/03/2016";
97+
JSROOT.version = "dev 24/03/2016";
10098

10199
JSROOT.source_dir = "";
102100
JSROOT.source_min = false;

scripts/JSRootPainter.more.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3971,6 +3971,8 @@
39713971

39723972
this.DrawTitle();
39733973

3974+
this.AddInteractive();
3975+
39743976
JSROOT.CallBack(call_back);
39753977
}
39763978

@@ -4037,7 +4039,6 @@
40374039
this[func_name](function() {
40384040
this.DrawNextFunction(0, function() {
40394041
if (this.options.Lego == 0) {
4040-
this.AddInteractive();
40414042
if (this.options.AutoZoom) this.AutoZoom();
40424043
}
40434044
this.CreateToolbar();

0 commit comments

Comments
 (0)