repo: janusweb
action: commit
revision: 
path_from: 
revision_from: ef774f09f6511f3d0dfa55fcfdcd78b7d5911c18:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit ef774f09f6511f3d0dfa55fcfdcd78b7d5911c18
Author: James Baicoianu 
Date:   Sat Oct 21 03:02:40 2017 -0700

    Clone velocity instead of using reference

diff --git a/scripts/room.js b/scripts/room.js
index 69c764d734208182a8a07ea753a2fbecf606eb9a..
index ..d1160abf3dc6ad3acc976a0ec580904eaf0b97ce 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -883,7 +883,7 @@ elation.require([
           //objectargs.volume = args.scale[0];
           break;
         case 'janusparticle':
-          objectargs.particle_vel = args.vel;
+          objectargs.particle_vel = V(args.vel);
           objectargs.particle_accel = args.accel;
           objectargs.particle_scale = args.scale;
           objectargs.vel = new THREE.Vector3();

-----END OF PAGE-----