From 6ceffcbc9bd390e914da64f5233baad2411ea2d1 Mon Sep 17 00:00:00 2001 From: netpro2k <netpro2k@gmail.com> Date: Wed, 18 Jul 2018 16:13:13 -0700 Subject: [PATCH] Ensure image texture gets updated --- src/components/image-plus.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/image-plus.js b/src/components/image-plus.js index 08cf851b8..f47fc8317 100644 --- a/src/components/image-plus.js +++ b/src/components/image-plus.js @@ -239,6 +239,7 @@ AFRAME.registerComponent("image-plus", { material.transparent = true; material.map = texture; material.needsUpdate = true; + material.map.needsUpdate = true; const geometry = new THREE.PlaneGeometry(width, height, 1, 1); this.mesh = new THREE.Mesh(geometry, material); -- GitLab