Skip to content

Commit

Permalink
remove debugging log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsteinig committed Sep 13, 2024
1 parent 47b0309 commit 87cc5b3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
Binary file removed air-quality-ui/public/all_colormaps.png
Binary file not shown.
2 changes: 0 additions & 2 deletions air-quality-ui/src/components/globe/CameraSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const CameraSettings: React.FC<CameraSettingsProps> = ({
}) => {
useEffect(() => {
if (cameraControlsRef.current) {
console.log('render camera settings')
console.log(globeState)
const controls = cameraControlsRef.current

if (globeState) {
Expand Down
1 change: 0 additions & 1 deletion air-quality-ui/src/components/globe/SurfaceLayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ const SurfaceLayer = memo(
? 6
: undefined
materialRef.current.uniforms.uVariableIndex.value = variableIndex
console.log(variableIndex)

const windowIndexRef = useRef(0)

Expand Down
4 changes: 2 additions & 2 deletions air-quality-ui/src/components/globe/useDataTextures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const createCanvasTexturesFromImages = async (
img.crossOrigin = 'Anonymous'
img.onload = onLoadImage
img.onerror = (error) => {
console.error(`Failed to load image: ${url}`, error)
reject(new Error(`Failed to load image: ${url}`))
console.error(`Failed to load data texture: ${url}`, error)
reject(new Error(`Failed to load data texture: ${url}`))
}
img.src = url
images.push(img)
Expand Down

0 comments on commit 87cc5b3

Please sign in to comment.