From 54e0e9c603c52aeafab3f0285ff4f1fb189b6fe3 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Fri, 9 Nov 2018 22:05:44 +0000 Subject: [PATCH] Ensure networked behavior is persistent when spawned as pinned object --- src/gltf-component-mappings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gltf-component-mappings.js b/src/gltf-component-mappings.js index 15c2f5847..d4236ebc6 100644 --- a/src/gltf-component-mappings.js +++ b/src/gltf-component-mappings.js @@ -80,6 +80,7 @@ AFRAME.GLTFModelPlus.registerComponent("media", "media", (el, componentName, com el.setAttribute("networked", { template: "#interactable-media", owner: "scene", + persistent: true, networkId: componentData.id }); } -- GitLab