Skip to content

Commit

Permalink
fix: paint uint64 arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Jul 5, 2023
1 parent 37419c0 commit c77c391
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions microviewer/datacube.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ class SegmentationVolume extends MonoVolume {
let _this = this;
let [ width, height ] = _this.getSegmentation().faceDimensions(axis);

label = _this.getSegmentation().cast(label);

if (_this.inverse_renumbering[label] === undefined) {
_this.renumbering[_this.max_label] = label;
_this.inverse_renumbering[label] = _this.max_label;
Expand Down

0 comments on commit c77c391

Please sign in to comment.