From 702c2313becea3b9a95aacf504e50e0bf9e79c45 Mon Sep 17 00:00:00 2001 From: Ruben de Laat Date: Tue, 15 Sep 2015 09:50:35 +0200 Subject: [PATCH 1/2] Removed reference to Global --- api/GeometryLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/GeometryLoader.js b/api/GeometryLoader.js index c268a21..1eb8074 100644 --- a/api/GeometryLoader.js +++ b/api/GeometryLoader.js @@ -336,7 +336,7 @@ function GeometryLoader(bimServerApi, models, viewer) { } this.afterRegistration = function(topicId) { - Global.bimServerApi.call("Bimsie1NotificationRegistryInterface", "getProgress", { + o.bimServerApi.call("Bimsie1NotificationRegistryInterface", "getProgress", { topicId: o.topicId }, function(state){ o.progressHandler(o.topicId, state); From 4e93202656e471b4aa60f82597e06aa139f4fd02 Mon Sep 17 00:00:00 2001 From: stegh Date: Fri, 22 Jan 2016 14:13:11 +0100 Subject: [PATCH 2/2] Fix to make zoom by mousewheel working in Mozilla Firefox and Microsoft Internet Explorer / Microsoft Edge --- api/Control/PickFlyOrbit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Control/PickFlyOrbit.js b/api/Control/PickFlyOrbit.js index 4108a48..31db1ae 100644 --- a/api/Control/PickFlyOrbit.js +++ b/api/Control/PickFlyOrbit.js @@ -432,7 +432,7 @@ BIMSURFER.Control.PickFlyOrbit = BIMSURFER.Class(BIMSURFER.Control, { */ mouseWheel: function(e) { var delta = 0; - event = e; + var event = e; if (event.wheelDelta) { delta = event.wheelDelta / 120; if (window.opera) {