From fb60b0194fcd632be39f71612e16425ddcd8ce74 Mon Sep 17 00:00:00 2001 From: Vincent Fretin Date: Fri, 15 Mar 2024 14:43:46 +0100 Subject: [PATCH] also sync position rotation scale for media template --- src/components/media-frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/media-frame.js b/src/components/media-frame.js index 4c9d75c..5e30aa6 100644 --- a/src/components/media-frame.js +++ b/src/components/media-frame.js @@ -7,7 +7,7 @@ function addMediaFrameTemplate() { const refTemplateId = `#${templateOuter.id}`; NAF.schemas.schemaDict[refTemplateId] = { template: refTemplateId, - components: ["video-texture-target"], + components: ["position", "rotation", "scale", "video-texture-target"], }; NAF.schemas.templateCache[refTemplateId] = templateOuter; }