@cornerstonejs/core 0.47.2 → 0.47.3

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": "@cornerstonejs/core",
3
- "version": "0.47.2",
3
+ "version": "0.47.3",
4
4
  "description": "",
5
5
  "main": "dist/umd/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -43,5 +43,5 @@
43
43
  "type": "individual",
44
44
  "url": "https://ohif.org/donate"
45
45
  },
46
- "gitHead": "d0865c2e805bf58d9d6cee290ba39440518b3f8d"
46
+ "gitHead": "cae60430345c18a30265eb66bd89131750d3ee40"
47
47
  }
@@ -379,7 +379,8 @@ class VolumeViewport extends BaseVolumeViewport {
379
379
  }
380
380
 
381
381
  const actorEntry = this.getDefaultActor();
382
- if (!actorIsA(actorEntry, 'vtkVolume')) {
382
+
383
+ if (!actorEntry || !actorIsA(actorEntry, 'vtkVolume')) {
383
384
  return;
384
385
  }
385
386