This commit is contained in:
Ross
2021-10-30 10:30:31 +01:00
parent 856b5a60f1
commit e26e1763dc
+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;