Skip to content

Commit

Permalink
fix surface mutid on label index merge
Browse files Browse the repository at this point in the history
  • Loading branch information
DocSavage committed May 16, 2024
1 parent 4e84b6e commit 280b45d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datatype/common/labels/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ func (idx *Index) Add(idx2 *Index, mutInfo dvid.MutInfo) error {
for zyx, svc2 := range idx2.Blocks {
svc, found := idx.Blocks[zyx]
if !found || svc == nil || svc.Counts == nil {
svc2.SurfaceMutid = mutInfo.MutID
idx.Blocks[zyx] = svc2
} else {
// supervoxels cannot be in more than one set index, so if it's in idx2,
Expand Down

0 comments on commit 280b45d

Please sign in to comment.