Kind of working, updated cornerstone-core lib.

This commit is contained in:
James Petts committed 2018-10-23 13:21:21 +02:00
1 parent 548dddfc93
commit 1887df2dc5
3 files changed
+11 -2

No files matched your search

@@ -27,8 +27,12 @@ export const toolManager = {
toolManager.setDefaultTool(OHIF.viewer.defaultTool);
}
console.log('======INITIALIZING CORNERSTONETOOLS======');
cornerstoneTools.init();
console.log('======CORNERSTONETOOLS INITIALIZED======');
tools = [
'Length',
'Angle',
@@ -135,6 +139,8 @@ export const toolManager = {
toolManager.init();
}
console.log("toolManager.getActiveTool");
// If activeTool is not defined, we should set as defaultTool
if (!activeTool) {
activeTool = defaultTool;
@@ -159,3 +165,5 @@ export const toolManager = {
//
}
};
toolManager.init();