This commit is contained in:
Ross
2021-10-30 10:30:11 +01:00
parent c51f72dcea
commit 76c49a9524
+1 -2
View File
@@ -212,12 +212,11 @@ export function loadCornerstone(main_element, db, images, annotations_to_load, l
function loadAnnotation(imageId, annotation) {
console.log("loadAnnotations", imageId, annotation);
//console.log("loadAnnotations", imageId, annotation);
const toolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager;
if (annotation == undefined || annotation.length < 1 || annotation == [undefined]) { return }
console.log("1234", annotation);
let tool_state_no_id = JSON.parse(annotation);
tool_state[imageId] = tool_state_no_id;