fix: seg preview (#5338)

This commit is contained in:
Pedro Köhler 2025-08-28 13:11:03 -03:00 committed by GitHub
parent e0f7b5b5db
commit d91cc230e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,10 +60,7 @@ const getLabelmapTools = ({ toolGroupService }) => {
// tools is an object with toolName as the key and tool as the value
Object.keys(tools).forEach(toolName => {
const tool = tools[toolName];
if (
tool instanceof cornerstoneTools.LabelmapBaseTool &&
tool.shouldResolvePreviewRequests()
) {
if (tool instanceof cornerstoneTools.LabelmapBaseTool) {
labelmapTools.push(tool);
}
});