Skip to content

Commit

Permalink
Merge branch 'master' of github.com:scalableminds/webknossos into red…
Browse files Browse the repository at this point in the history
…esign-right-sidebar

* 'master' of github.com:scalableminds/webknossos:
  Fix true brush size for small, uneven brush sizes (#7129)
  • Loading branch information
hotzenklotz committed Jun 9, 2023
2 parents 4984799 + aae1506 commit 10df37c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
- Fixed reading of some remote datasets where invalid data would follow valid gzip data, causing the decompression to fail. [#7119](https://github.com/scalableminds/webknossos/pull/7119)
- Fixed problems which could arise when annotating volume data at negative positions (which is not supported and is properly ignored now). [#7124](https://github.com/scalableminds/webknossos/pull/7124)
- Fixed some requests failing for streaming remote data via HTTP, which was observed when streaming data via Zarr from another WEBKNOSSOS instance. [#7125](https://github.com/scalableminds/webknossos/pull/7125)
- Fixed that the brush preview was inaccurate in some scenarios. [#7129](https://github.com/scalableminds/webknossos/pull/7129)

### Removed
- Support for [webknososs-connect](https://github.com/scalableminds/webknossos-connect) data store servers has been removed. Use the "Add Remote Dataset" functionality instead. [#7031](https://github.com/scalableminds/webknossos/pull/7031)
Expand Down
2 changes: 1 addition & 1 deletion frontend/javascripts/oxalis/shaders/segmentation.glsl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export const getBrushOverlay: ShaderModule = {
float dist = length((floor(worldCoordUVW.xy) - transDim(flooredMousePos).xy) * anisotropyFactorUVW.xy);
float radius = round(brushSizeInPixel / 2.0);
float radius = ceil(brushSizeInPixel / 2.0);
if (radius > dist) {
brushOverlayColor = vec4(vec3(1.0), 0.5);
}
Expand Down

0 comments on commit 10df37c

Please sign in to comment.