bugfix: model should be available

This commit is contained in:
Leon van Kammen 2023-08-08 15:41:16 +02:00
parent 9a451a3625
commit f4367e6574
4 changed files with 4 additions and 4 deletions

View file

@ -1186,7 +1186,7 @@ xrf.frag.pos = function(v, opts){
}
}
const updatePredefinedView = (opts) => {
let {frag,scene} = opts
let {frag,scene,model} = opts
// spec: https://xrfragment.org/#Selection%20of%20interest
const selectionOfInterest = (frag,scene,mesh) => {

View file

@ -1186,7 +1186,7 @@ xrf.frag.pos = function(v, opts){
}
}
const updatePredefinedView = (opts) => {
let {frag,scene} = opts
let {frag,scene,model} = opts
// spec: https://xrfragment.org/#Selection%20of%20interest
const selectionOfInterest = (frag,scene,mesh) => {

View file

@ -1186,7 +1186,7 @@ xrf.frag.pos = function(v, opts){
}
}
const updatePredefinedView = (opts) => {
let {frag,scene} = opts
let {frag,scene,model} = opts
// spec: https://xrfragment.org/#Selection%20of%20interest
const selectionOfInterest = (frag,scene,mesh) => {

View file

@ -1,5 +1,5 @@
const updatePredefinedView = (opts) => {
let {frag,scene} = opts
let {frag,scene,model} = opts
// spec: https://xrfragment.org/#Selection%20of%20interest
const selectionOfInterest = (frag,scene,mesh) => {