ソースを参照

Tweak

customisations
alemart 6ヶ月前
コミット
f3385d53a5
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      addons/aframe/ar-scan-gimmick.js

+ 1
- 1
addons/aframe/ar-scan-gimmick.js ファイルの表示

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

読み込み中…
キャンセル
保存