Skip to content

Commit

Permalink
style: 🎨 Ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mariewah committed Oct 30, 2025
1 parent 02f7d20 commit dbc1782
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/potreeViewer.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { initAnnotationsPanel } from './AnnotationControl/annotationPanel.js'
import { initMeasurementsPanel } from './MeasurementControl/measurementsPanel.js'
import { initMiniMap } from './MiniMap/miniMap.js'
import {
initFilterPanels,
toggleAcceptedLegend
} from './Filter/filter.js'
import { initFilterPanels, toggleAcceptedLegend } from './Filter/filter.js'
import { ecef } from './config.js'

/**
Expand Down Expand Up @@ -85,7 +82,7 @@ export async function createPotreeViewer(
// Helper function to update all point clouds for Accepted filtering
function updateAllCloudsAccepted(gradientName) {
pointclouds.forEach((pc) => {
pc.material.activeAttributeName = 'Accepted'
pc.material.activeAttributeName = 'accepted'
pc.material.gradient = Potree.Gradients[gradientName]
})
}
Expand Down

0 comments on commit dbc1782

Please sign in to comment.