bugfix: dont use nonexistant .interactive
This commit is contained in:
parent
a9ba85240c
commit
6487a1c6d0
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ AFRAME.registerSystem('xrf-hands',{
|
||||||
},
|
},
|
||||||
|
|
||||||
tick: function(){
|
tick: function(){
|
||||||
if( !this.indexFinger ) return
|
if( !this.indexFinger || !xrf.interactive ) return
|
||||||
if( !this.el.sceneEl.renderer.xr.isPresenting || !this.indexFinger.length ) return
|
if( !this.el.sceneEl.renderer.xr.isPresenting || !this.indexFinger.length ) return
|
||||||
for( let i = 0; i < this.indexFinger.length; i++ ){
|
for( let i = 0; i < this.indexFinger.length; i++ ){
|
||||||
let indexFinger = this.indexFinger[i]
|
let indexFinger = this.indexFinger[i]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue