diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index b7eab164717..b46b2c34f23 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -19,6 +19,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released - Fixed rare SIGBUS crashes of the datastore module that were caused by memory mapping on unstable file systems. [#7528](https://github.com/scalableminds/webknossos/pull/7528) - Fixed loading local datasets for organizations that have spaces in their names. [#7593](https://github.com/scalableminds/webknossos/pull/7593) - Fixed a bug where proofreading annotations would stay black until the next server restart due to expired but cached tokens. [#7598](https://github.com/scalableminds/webknossos/pull/7598) +- Fixed a bug where ad-hoc meshing didn't make use of a segment index, even when it existed. [#7600](https://github.com/scalableminds/webknossos/pull/7600) ### Removed diff --git a/frontend/javascripts/oxalis/model/sagas/mesh_saga.ts b/frontend/javascripts/oxalis/model/sagas/mesh_saga.ts index 24e7900d2fc..3c8b5c4e3a2 100644 --- a/frontend/javascripts/oxalis/model/sagas/mesh_saga.ts +++ b/frontend/javascripts/oxalis/model/sagas/mesh_saga.ts @@ -352,7 +352,7 @@ function* loadFullAdHocMesh( volumeTracing?.hasSegmentIndex && !volumeTracing.mappingIsEditable && visibleSegmentationLayer?.tracingId != null && - additionalCoordinates == null; // TODO remove in https://github.com/scalableminds/webknossos/pull/7411 + (additionalCoordinates == null || additionalCoordinates.length === 0); // TODO remove in https://github.com/scalableminds/webknossos/pull/7411 let positionsToRequest = usePositionsFromSegmentStats ? yield* getChunkPositionsFromSegmentStats( tracingStoreHost,