Pārlūkot izejas kodu

Tweak

customisations
alemart 6 mēnešus atpakaļ
vecāks
revīzija
f3385d53a5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      addons/aframe/ar-scan-gimmick.js

+ 1
- 1
addons/aframe/ar-scan-gimmick.js Parādīt failu

@@ -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
 });

Notiek ielāde…
Atcelt
Saglabāt