From cd758672546c914b7d5fc547c2ad8e6cfb437d6e Mon Sep 17 00:00:00 2001 From: Francisco Dans Date: Mon, 2 Feb 2015 18:13:06 +0100 Subject: [PATCH] sums 1 to itemstoload previous to load trigger --- lib/torque/renderer/point.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/torque/renderer/point.js b/lib/torque/renderer/point.js index b3723ef..d8f3bca 100644 --- a/lib/torque/renderer/point.js +++ b/lib/torque/renderer/point.js @@ -339,6 +339,7 @@ var filters = require('./torque_filters'); self.clearSpriteCache(); console.error("Couldn't get marker-file " + this.src); }; + this.itemsToLoad++; new_img.src = img_names[i]; } }