瀏覽代碼

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

Loading…
取消
儲存