Browse Source

fix and add image for vr world

Nikolay Suslov 7 years ago
parent
commit
d11185f75c
4 changed files with 5 additions and 11 deletions
  1. 3 1
      lib/nodejs/reflector.js
  2. 1 9
      public/gearvr/index.vwf.yaml
  3. BIN
      public/gearvr/webimg.jpg
  4. 1 1
      public/webapps.json

+ 3 - 1
lib/nodejs/reflector.js

@@ -329,10 +329,12 @@ function OnConnection( socket ) {
                             }
                         }
             
+                        if (global.instances[ namespace ]) {
                         if ( global.instances[ namespace ].pendingList.pending ) {
                             global.instances[ namespace ].pendingList.push( message );
                         }
-            
+                    }
+
                     } else if ( message.action == "getState" ) {
             
                         //distribute message to all clients on given instance

+ 1 - 9
public/gearvr/index.vwf.yaml

@@ -25,7 +25,7 @@ children:
   spaceText:
     extends: http://vwf.example.com/aframe/atext.vwf
     properties:
-      value: "Virtual World Framework & A-Frame & OSC"
+      value: "Virtual World Framework & VR Controllers"
       color: "#2b5d83"
       position: [-2, 2.5, -3]
   cube:
@@ -37,14 +37,6 @@ children:
       depth: 1
       height: 1
       width: 1
-    children:
-      sphere:
-        extends: http://vwf.example.com/aframe/asphere.vwf
-        properties:
-          position: "0 2 0"
-          rotation: "0 0 0"
-          color: "#3c7249"
-          radius: 0.4
   newSky:
     extends: http://vwf.example.com/aframe/aentity.vwf
     children:

BIN
public/gearvr/webimg.jpg


+ 1 - 1
public/webapps.json

@@ -40,7 +40,7 @@
     },
     "gearvr":{
         "title":"Control in VR app",
-        "imgUrl": "./gear/webimg.jpg",
+        "imgUrl": "./gearvr/webimg.jpg",
         "text": "VR controler example",
         "featured": false
     }