Working with latest cornerstone and cornerstoneTools versions.
This commit is contained in:
1 parent
1887df2dc5
commit
7bf059ad05
6 files changed
+19
-27
No files matched your search
@@ -27,12 +27,8 @@ export const toolManager = {
|
||||
toolManager.setDefaultTool(OHIF.viewer.defaultTool);
|
||||
}
|
||||
|
||||
console.log('======INITIALIZING CORNERSTONETOOLS======');
|
||||
|
||||
cornerstoneTools.init();
|
||||
|
||||
console.log('======CORNERSTONETOOLS INITIALIZED======');
|
||||
|
||||
tools = [
|
||||
'Length',
|
||||
'Angle',
|
||||
@@ -139,8 +135,6 @@ export const toolManager = {
|
||||
toolManager.init();
|
||||
}
|
||||
|
||||
console.log("toolManager.getActiveTool");
|
||||
|
||||
// If activeTool is not defined, we should set as defaultTool
|
||||
if (!activeTool) {
|
||||
activeTool = defaultTool;
|
||||
|
||||
Reference in new issue
Block a user