fix: seg preview (#5338)
This commit is contained in:
parent
e0f7b5b5db
commit
d91cc230e5
@ -60,10 +60,7 @@ const getLabelmapTools = ({ toolGroupService }) => {
|
|||||||
// tools is an object with toolName as the key and tool as the value
|
// tools is an object with toolName as the key and tool as the value
|
||||||
Object.keys(tools).forEach(toolName => {
|
Object.keys(tools).forEach(toolName => {
|
||||||
const tool = tools[toolName];
|
const tool = tools[toolName];
|
||||||
if (
|
if (tool instanceof cornerstoneTools.LabelmapBaseTool) {
|
||||||
tool instanceof cornerstoneTools.LabelmapBaseTool &&
|
|
||||||
tool.shouldResolvePreviewRequests()
|
|
||||||
) {
|
|
||||||
labelmapTools.push(tool);
|
labelmapTools.push(tool);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user