fix(tool-manager): Set all tools passive by default in order to render external data if exists

This commit is contained in:
Evren Ozkan 2018-11-15 10:55:38 -05:00
parent 5019f539ee
commit ea6dea4549

View File

@ -151,6 +151,9 @@ export const toolManager = {
const apiTool = cornerstoneTools[tools[toolName]];
if (apiTool) {
cornerstoneTools.addTool(apiTool, { name: toolName });
// Set all tools passive by default in order to render the external data if exists
cornerstoneTools.setToolPassive(toolName);
}
});