Ver código fonte

Tweak

customisations
alemart 6 meses atrás
pai
commit
f3385d53a5
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      addons/aframe/ar-scan-gimmick.js

+ 1
- 1
addons/aframe/ar-scan-gimmick.js Ver arquivo

@@ -114,7 +114,7 @@ AFRAME.registerComponent('ar-scan-gimmick', {
114 114
     _validate()
115 115
     {
116 116
         if(!this.el.parentNode.getAttribute('ar-hud'))
117
-            throw new Error('a-entity with ar-scan-gimmick must be a direct child of ar-hud');
117
+            console.error('a-entity with ar-scan-gimmick must be a direct child of ar-hud');
118 118
     },
119 119
 
120 120
 });

Carregando…
Cancelar
Salvar