diff --git a/src/AnnotationControl/annotationPanel.js b/src/AnnotationControl/annotationPanel.js index d1e86fb..89a8792 100644 --- a/src/AnnotationControl/annotationPanel.js +++ b/src/AnnotationControl/annotationPanel.js @@ -465,17 +465,6 @@ export function initAnnotationsPanel(viewer) { } catch (e) { console.warn('Could not attach camera info to annotation', e) } - let annotationsRoot = tree.get_json('annotations') - let jsonNode = - annotationsRoot && - annotationsRoot.children && - annotationsRoot.children.find( - (child) => child.data.uuid === annotation.uuid - ) - if (jsonNode) { - $.jstree.reference(jsonNode.id).deselect_all() - $.jstree.reference(jsonNode.id).select_node(jsonNode.id) - } updateAnnotationsList() }, 200) // A short delay for Potree/jsTree to update }