cleanup
This commit is contained in:
parent
85dd26632c
commit
ea8046b1d2
4 changed files with 0 additions and 8 deletions
2
dist/xrfragment.aframe.js
vendored
2
dist/xrfragment.aframe.js
vendored
|
|
@ -1181,7 +1181,6 @@ const updatePredefinedView = (opts) => {
|
||||||
if( mesh.visible && (id == mesh.name || id.substr(1) == mesh.userData.class) ){
|
if( mesh.visible && (id == mesh.name || id.substr(1) == mesh.userData.class) ){
|
||||||
xrf.emit('selection',{...opts,frag})
|
xrf.emit('selection',{...opts,frag})
|
||||||
.then( () => {
|
.then( () => {
|
||||||
console.log("selection event")
|
|
||||||
const margin = 1.2
|
const margin = 1.2
|
||||||
mesh.scale.multiplyScalar( margin )
|
mesh.scale.multiplyScalar( margin )
|
||||||
mesh.selection = new xrf.THREE.BoxHelper(mesh,0xff00ff)
|
mesh.selection = new xrf.THREE.BoxHelper(mesh,0xff00ff)
|
||||||
|
|
@ -1229,7 +1228,6 @@ const updatePredefinedView = (opts) => {
|
||||||
if( v.args ) v = v.args[ xrf.roundrobin(v,xrf.model) ]
|
if( v.args ) v = v.args[ xrf.roundrobin(v,xrf.model) ]
|
||||||
// wait for nested instances to arrive at the scene
|
// wait for nested instances to arrive at the scene
|
||||||
setTimeout( () => traverseScene(v,scene), 100 )
|
setTimeout( () => traverseScene(v,scene), 100 )
|
||||||
console.dir(v)
|
|
||||||
if( v.string ) pviews.push(v.string)
|
if( v.string ) pviews.push(v.string)
|
||||||
}else if( v.is( xrf.XRF.NAVIGATOR ) ) pviews.push(`${i}=${v.string}`)
|
}else if( v.is( xrf.XRF.NAVIGATOR ) ) pviews.push(`${i}=${v.string}`)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
dist/xrfragment.three.js
vendored
2
dist/xrfragment.three.js
vendored
|
|
@ -1181,7 +1181,6 @@ const updatePredefinedView = (opts) => {
|
||||||
if( mesh.visible && (id == mesh.name || id.substr(1) == mesh.userData.class) ){
|
if( mesh.visible && (id == mesh.name || id.substr(1) == mesh.userData.class) ){
|
||||||
xrf.emit('selection',{...opts,frag})
|
xrf.emit('selection',{...opts,frag})
|
||||||
.then( () => {
|
.then( () => {
|
||||||
console.log("selection event")
|
|
||||||
const margin = 1.2
|
const margin = 1.2
|
||||||
mesh.scale.multiplyScalar( margin )
|
mesh.scale.multiplyScalar( margin )
|
||||||
mesh.selection = new xrf.THREE.BoxHelper(mesh,0xff00ff)
|
mesh.selection = new xrf.THREE.BoxHelper(mesh,0xff00ff)
|
||||||
|
|
@ -1229,7 +1228,6 @@ const updatePredefinedView = (opts) => {
|
||||||
if( v.args ) v = v.args[ xrf.roundrobin(v,xrf.model) ]
|
if( v.args ) v = v.args[ xrf.roundrobin(v,xrf.model) ]
|
||||||
// wait for nested instances to arrive at the scene
|
// wait for nested instances to arrive at the scene
|
||||||
setTimeout( () => traverseScene(v,scene), 100 )
|
setTimeout( () => traverseScene(v,scene), 100 )
|
||||||
console.dir(v)
|
|
||||||
if( v.string ) pviews.push(v.string)
|
if( v.string ) pviews.push(v.string)
|
||||||
}else if( v.is( xrf.XRF.NAVIGATOR ) ) pviews.push(`${i}=${v.string}`)
|
}else if( v.is( xrf.XRF.NAVIGATOR ) ) pviews.push(`${i}=${v.string}`)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
dist/xrfragment.three.module.js
vendored
2
dist/xrfragment.three.module.js
vendored
|
|
@ -1181,7 +1181,6 @@ const updatePredefinedView = (opts) => {
|
||||||
if( mesh.visible && (id == mesh.name || id.substr(1) == mesh.userData.class) ){
|
if( mesh.visible && (id == mesh.name || id.substr(1) == mesh.userData.class) ){
|
||||||
xrf.emit('selection',{...opts,frag})
|
xrf.emit('selection',{...opts,frag})
|
||||||
.then( () => {
|
.then( () => {
|
||||||
console.log("selection event")
|
|
||||||
const margin = 1.2
|
const margin = 1.2
|
||||||
mesh.scale.multiplyScalar( margin )
|
mesh.scale.multiplyScalar( margin )
|
||||||
mesh.selection = new xrf.THREE.BoxHelper(mesh,0xff00ff)
|
mesh.selection = new xrf.THREE.BoxHelper(mesh,0xff00ff)
|
||||||
|
|
@ -1229,7 +1228,6 @@ const updatePredefinedView = (opts) => {
|
||||||
if( v.args ) v = v.args[ xrf.roundrobin(v,xrf.model) ]
|
if( v.args ) v = v.args[ xrf.roundrobin(v,xrf.model) ]
|
||||||
// wait for nested instances to arrive at the scene
|
// wait for nested instances to arrive at the scene
|
||||||
setTimeout( () => traverseScene(v,scene), 100 )
|
setTimeout( () => traverseScene(v,scene), 100 )
|
||||||
console.dir(v)
|
|
||||||
if( v.string ) pviews.push(v.string)
|
if( v.string ) pviews.push(v.string)
|
||||||
}else if( v.is( xrf.XRF.NAVIGATOR ) ) pviews.push(`${i}=${v.string}`)
|
}else if( v.is( xrf.XRF.NAVIGATOR ) ) pviews.push(`${i}=${v.string}`)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ const updatePredefinedView = (opts) => {
|
||||||
if( mesh.visible && (id == mesh.name || id.substr(1) == mesh.userData.class) ){
|
if( mesh.visible && (id == mesh.name || id.substr(1) == mesh.userData.class) ){
|
||||||
xrf.emit('selection',{...opts,frag})
|
xrf.emit('selection',{...opts,frag})
|
||||||
.then( () => {
|
.then( () => {
|
||||||
console.log("selection event")
|
|
||||||
const margin = 1.2
|
const margin = 1.2
|
||||||
mesh.scale.multiplyScalar( margin )
|
mesh.scale.multiplyScalar( margin )
|
||||||
mesh.selection = new xrf.THREE.BoxHelper(mesh,0xff00ff)
|
mesh.selection = new xrf.THREE.BoxHelper(mesh,0xff00ff)
|
||||||
|
|
@ -58,7 +57,6 @@ const updatePredefinedView = (opts) => {
|
||||||
if( v.args ) v = v.args[ xrf.roundrobin(v,xrf.model) ]
|
if( v.args ) v = v.args[ xrf.roundrobin(v,xrf.model) ]
|
||||||
// wait for nested instances to arrive at the scene
|
// wait for nested instances to arrive at the scene
|
||||||
setTimeout( () => traverseScene(v,scene), 100 )
|
setTimeout( () => traverseScene(v,scene), 100 )
|
||||||
console.dir(v)
|
|
||||||
if( v.string ) pviews.push(v.string)
|
if( v.string ) pviews.push(v.string)
|
||||||
}else if( v.is( xrf.XRF.NAVIGATOR ) ) pviews.push(`${i}=${v.string}`)
|
}else if( v.is( xrf.XRF.NAVIGATOR ) ) pviews.push(`${i}=${v.string}`)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue