Skip to content
Snippets Groups Projects
Commit 54e0e9c6 authored by Greg Fodor's avatar Greg Fodor
Browse files

Ensure networked behavior is persistent when spawned as pinned object

parent 18698691
No related branches found
No related tags found
No related merge requests found
...@@ -80,6 +80,7 @@ AFRAME.GLTFModelPlus.registerComponent("media", "media", (el, componentName, com ...@@ -80,6 +80,7 @@ AFRAME.GLTFModelPlus.registerComponent("media", "media", (el, componentName, com
el.setAttribute("networked", { el.setAttribute("networked", {
template: "#interactable-media", template: "#interactable-media",
owner: "scene", owner: "scene",
persistent: true,
networkId: componentData.id networkId: componentData.id
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment