.
This commit is contained in:
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user