From 67de0a1edc5c3827c64108f29e8ca2ee3915e7b8 Mon Sep 17 00:00:00 2001 From: franmagn Date: Mon, 20 Oct 2025 15:19:51 +0200 Subject: [PATCH] fix(#4): small fix to merge with other branch --- src/AnnotationControl/annotationPanel.js | 3 +++ 1 file changed, 3 insertions(+) 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) {