Skip to content

Commit 14197cb

Browse files
317: Updates (#205)
* Disable seg interpolation by default * No min res if no grid resolutions * Bump dmv version
1 parent af9d042 commit 14197cb

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dicom-microscopy-viewer",
3-
"version": "0.48.9",
3+
"version": "0.48.10",
44
"license": "MIT",
55
"author": "ImagingDataCommons",
66
"homepage": "https://github.com/imagingdatacommons/dicom-microscopy-viewer#readme",

src/viewer.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ class VolumeImageViewer {
848848
this[_highResSources] = {}
849849
this[_pointsSources] = {}
850850
this[_clustersSources] = {}
851-
this[_segmentationInterpolate] = true
851+
this[_segmentationInterpolate] = false
852852

853853
this._onBulkAnnotationsFeaturesLoadStart = this._onBulkAnnotationsFeaturesLoadStart.bind(this)
854854
this._onBulkAnnotationsFeaturesLoadEnd = this._onBulkAnnotationsFeaturesLoadEnd.bind(this)
@@ -4820,9 +4820,11 @@ class VolumeImageViewer {
48204820
useInterimTilesOnError: false,
48214821
cacheSize: this[_options].tilesCacheSize,
48224822
minResolution: (
4823-
minZoomLevel > 0
4824-
? this[_pyramid].resolutions[minZoomLevel]
4825-
: undefined
4823+
this[_mapViewResolutions] === undefined
4824+
? undefined
4825+
: (minZoomLevel > 0
4826+
? this[_pyramid].resolutions[minZoomLevel]
4827+
: undefined)
48264828
)
48274829
})
48284830
segment.layer.on('error', (event) => {

0 commit comments

Comments
 (0)