Skip to content

Commit 35912f4

Browse files
Merge branch 'master' of github.com:scalableminds/webknossos into live-m3-follow-up
2 parents 2f43c90 + fe99e73 commit 35912f4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

frontend/javascripts/viewer/model/sagas/volume/proofreading/proofread_saga.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,14 +1744,15 @@ export function* prepareSplitOrMerge(isSkeletonProofreading: boolean): Saga<Prep
17441744
const activeMapping = yield* select(
17451745
(store) => store.temporaryConfiguration.activeMappingByLayer[volumeTracing.tracingId],
17461746
);
1747-
// Getting latest annotation version as it might have changed due to e.g. making the mapping editable.
1748-
const annotationVersion = yield* select((state) => state.annotation.version);
17491747

17501748
if (activeMapping.mapping == null) {
17511749
Toast.error("Active mapping is not available, cannot proofread.");
17521750
return null;
17531751
}
17541752

1753+
// Getting latest annotation version as it might have changed due to e.g. making the mapping editable.
1754+
const annotationVersion = yield* select((state) => state.annotation.version);
1755+
17551756
return {
17561757
agglomerateFileMag,
17571758
getDataValue,

unreleased_changes/9412.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
### Fixed
2+
- Fixed a bug where the initial operation of a proofreading annotation failed if it was a split action.

0 commit comments

Comments
 (0)