Skip to content
Snippets Groups Projects
Commit fc4c8872 authored by Robert Long's avatar Robert Long
Browse files

Add comment for gltf-model-plus src property

parent 1e5ec9ae
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ AFRAME.registerComponent("media-loader", { ...@@ -74,7 +74,7 @@ AFRAME.registerComponent("media-loader", {
); );
this.el.addEventListener("model-error", this.onError, { once: true }); this.el.addEventListener("model-error", this.onError, { once: true });
this.el.setAttribute("gltf-model-plus", { this.el.setAttribute("gltf-model-plus", {
src: url, src: url, // gltf-model-plus expects the unresolved gltf url. The resolved farspark URL will be retrieved from the cache.
inflate: true inflate: true
}); });
} else { } else {
......
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