diff --git a/src/AnnotationControl/annotationPanel.js b/src/AnnotationControl/annotationPanel.js index f7a574c..5c4a9f9 100644 --- a/src/AnnotationControl/annotationPanel.js +++ b/src/AnnotationControl/annotationPanel.js @@ -1,3 +1,5 @@ +import {initAnnotationPersistence} from './persistence' + /** * Annotations Panel * Injects a custom Annotations section for storing camera positions, @@ -719,6 +721,7 @@ export function initAnnotationsPanel(viewer) { createAddButton() updateAnnotationsList() + initAnnotationPersistence(viewer) // Listen to Potree's annotation events to auto-refresh the list if (viewer.scene && viewer.scene.annotations) {