|
@@ -28,7 +28,6 @@ import {
|
|
|
import pkg from '../../package.json'
|
|
|
import {
|
|
|
type TresContext,
|
|
|
- useLogger,
|
|
|
useTresContextProvider,
|
|
|
} from '../composables'
|
|
|
import { extend } from '../core/catalogue'
|
|
@@ -97,8 +96,6 @@ const slots = defineSlots<{
|
|
|
default: () => any
|
|
|
}>()
|
|
|
|
|
|
-const { logWarning } = useLogger()
|
|
|
-
|
|
|
const canvas = ref<HTMLCanvasElement>()
|
|
|
|
|
|
/*
|
|
@@ -234,10 +231,6 @@ onMounted(() => {
|
|
|
)
|
|
|
|
|
|
if (!camera.value) {
|
|
|
- logWarning(
|
|
|
- 'No camera found. Creating a default perspective camera. '
|
|
|
- + 'To have full control over a camera, please add one to the scene.',
|
|
|
- )
|
|
|
addDefaultCamera()
|
|
|
}
|
|
|
|