From c2a758f4c63641897db7b7065fed8286a699c20e Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Mon, 11 Sep 2023 19:16:43 +0200 Subject: [PATCH] fix: explicitely set app context app --- playground/src/components/TestSphere.vue | 2 ++ src/components/TresCanvas.vue | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/playground/src/components/TestSphere.vue b/playground/src/components/TestSphere.vue index bf437f863..5538bc888 100644 --- a/playground/src/components/TestSphere.vue +++ b/playground/src/components/TestSphere.vue @@ -21,6 +21,8 @@ const pbrTexture = await useTexture({ ambientOcclusion: 'https://raw.githubusercontent.com/Tresjs/assets/main/textures/black-rock/Rock035_2K_AmbientOcclusion.jpg', }) + +console.log('sphereRef', getCurrentInstance())