repo: janusweb
action: commit
revision: 
path_from: 
revision_from: da7cb4fe1b3ebdb322af5dccac666ef380b90209:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit da7cb4fe1b3ebdb322af5dccac666ef380b90209
Author: James Baicoianu 
Date:   Fri Jun 23 01:44:37 2017 -0700

    Fix for interpolation error

diff --git a/scripts/janusghost.js b/scripts/janusghost.js
index 7c8f3410d6449f12fa190bbdacca4fffe08e2bc6..
index ..5e7f931b52efedc7e382816e41d63106b3d4adb5 100644
--- a/scripts/janusghost.js
+++ b/scripts/janusghost.js
@@ -318,7 +318,6 @@ elation.require(['janusweb.janusbase', 'engine.things.leapmotion'], function() {
         if (movedata.vel) {
           this.properties.velocity.fromArray(parser.getVectorValue(movedata.vel));
           this.properties.position.fromArray(pos);
-          this.interpolateNextPos.copy(this.properties.position);
         } else {
           if (this.interpolateLastPos) {
             var rate = this.janusweb.network.getUpdateRate(this.room);

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