Browse Source

ar mode is now default

Nikolay Suslov 6 years ago
parent
commit
8b8540034f

+ 1 - 1
public/defaults/worlds/aframe-ar/index.vwf.config.yaml

@@ -5,4 +5,4 @@ model:
   vwf/model/aframe:
 view:
   vwf/view/aframe:
-  vwf/view/editor-new:
+  vwf/view/aframe-ar-driver:

+ 1 - 3
public/web/index-app.js

@@ -1017,7 +1017,6 @@ class IndexApp {
                             let el = document.querySelector('#runWorldGUI');
                             if (el) {
                                 if (el._arSwitch.checked){
-                                    console.log("NEED TO LOAD IN AR MODE!!");
 
                                 let arSettings = {
                                     model:{
@@ -1025,8 +1024,7 @@ class IndexApp {
                                 }, 
                                     view:{
                                         'vwf/view/aframe' : null,
-                                        'vwf/view/aframe-ar-driver': null
-                                        //'vwf/view/editor-new': null
+                                        'vwf/view/editor-new': null
                                 }
                             }
 

+ 1 - 1
public/web/world-app.js

@@ -159,7 +159,7 @@ class WorldApp {
                           {
                             $type: 'label',
                             for: 'input-forceReplace',
-                            $text: 'AR'
+                            $text: 'Edit mode'
                           }
                     ]