zincjs 1.14.1 → 1.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zincjs",
3
- "version": "1.14.1",
3
+ "version": "1.14.2",
4
4
  "description": "ZincJS (Web-based-Zinc-Visualisation)",
5
5
  "main": "build/zinc.js",
6
6
  "directories": {
package/src/region.js CHANGED
@@ -548,6 +548,7 @@ let Region = function (parentIn, sceneIn) {
548
548
  }
549
549
 
550
550
  this.findObjectsWithAnatomicalId = (anatomicalId, transverse) => {
551
+ const objectsArray = [];
551
552
  zincObjects.forEach(zincObject => {
552
553
  if (zincObject.anatomicalId === anatomicalId)
553
554
  objectsArray.push(zincObject);