question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide option to disable brush tool's imageLayer-Copying

See original GitHub issue

cornerstoneTools.brush started copying image shown at the time of activation to a separate layer that’s entirely managed by brush in bbc329198ac81a5fff618b13e6cffacea2527229 (relevant lines)

This leads to issues with stacks where activating the brush tool and then switching to other images in the stack still showing the image from when the tool was activated. There’s no option to disable this behavior, nor is there a way to get the added layer’s id to manually clean up.

I think the brush tool should a) clean up after itself in deactivate() and b) have an option to disable this behavior.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you perform a cursory search?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JamesAPettscommented, Aug 19, 2018

We no longer use the layer api in vNext, I simply convert the data to a bitmap and render it straight to the canvas, so this shouldn’t be an issue.

0reactions
the-kennycommented, Aug 19, 2018

Thanks for the explanation! I’ll have a look at the vNext branch.

Cheers

Am 19.08.2018 um 02:13 schrieb Danny Brown notifications@github.com:

@the-kenny, it’s still a little rough, but the vNext branch will eventually become v3 of cornerstoneTools when it’s merged into master. It may be worth trying out it’s brush tool implementation to see if it works as you would expect.

I’ll close this issue for now. Feel free to continue to discuss, or to open a new issue for anything related to the new brush tool implementation.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and modify brushes in Adobe Photoshop
Display the Brush panel and brush options. Choose Window > Brush Settings. Or, select a painting, erasing, toning, or focus tool, and click ......
Read more >
Brushes — WorldEdit 7.2 documentation
Brush tools are general more designed for building, sculpting, and painting than the ... Brushes allow you to choose a mask, size, pattern,...
Read more >
Brush Tool - YouTube
This video provides an overview of the Brush tool in 3DCoat's Paint Workspace, and how it can be leveraged with various draw modes, ......
Read more >
Using the Tilt Brush Tools, Quick Tools, and Menu panels
On your Tilt Brush panels, you'll see a number of different options and features. Learn more about them below. Eraser, Dropper, Re-Color, Camera,...
Read more >
Interactively mark data values in a chart - MATLAB - MathWorks
Setting the brush color does not affect current marks unless you brush data, change the brush color, and then add or remove marks...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found