bugfix
This commit is contained in:
parent
bf57687a24
commit
fd77f28474
6 changed files with 3143 additions and 9 deletions
4
dist/xrfragment.aframe.all.js
vendored
4
dist/xrfragment.aframe.all.js
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* v0.5.1 generated at Mon Jul 15 02:49:04 PM UTC 2024
|
* v0.5.1 generated at Wed Jul 17 01:21:07 PM UTC 2024
|
||||||
* https://xrfragment.org
|
* https://xrfragment.org
|
||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
@ -1939,7 +1939,7 @@ xrf.loadModel = function(model,url,noadd){
|
||||||
let {directory,file,fragment,fileExt} = URI;
|
let {directory,file,fragment,fileExt} = URI;
|
||||||
model.file = URI.file
|
model.file = URI.file
|
||||||
xrf.model = model
|
xrf.model = model
|
||||||
xrf.scene = model.scene
|
// xrf.scene = model.scene
|
||||||
|
|
||||||
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
||||||
|
|
||||||
|
|
|
||||||
4
dist/xrfragment.aframe.js
vendored
4
dist/xrfragment.aframe.js
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* v0.5.1 generated at Mon Jul 15 02:49:04 PM UTC 2024
|
* v0.5.1 generated at Wed Jul 17 01:21:07 PM UTC 2024
|
||||||
* https://xrfragment.org
|
* https://xrfragment.org
|
||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
@ -1937,7 +1937,7 @@ xrf.loadModel = function(model,url,noadd){
|
||||||
let {directory,file,fragment,fileExt} = URI;
|
let {directory,file,fragment,fileExt} = URI;
|
||||||
model.file = URI.file
|
model.file = URI.file
|
||||||
xrf.model = model
|
xrf.model = model
|
||||||
xrf.scene = model.scene
|
// xrf.scene = model.scene
|
||||||
|
|
||||||
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
||||||
|
|
||||||
|
|
|
||||||
3134
dist/xrfragment.module.js
vendored
3134
dist/xrfragment.module.js
vendored
File diff suppressed because it is too large
Load diff
4
dist/xrfragment.three.js
vendored
4
dist/xrfragment.three.js
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* v0.5.1 generated at Mon Jul 15 02:49:04 PM UTC 2024
|
* v0.5.1 generated at Wed Jul 17 01:21:07 PM UTC 2024
|
||||||
* https://xrfragment.org
|
* https://xrfragment.org
|
||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
@ -1937,7 +1937,7 @@ xrf.loadModel = function(model,url,noadd){
|
||||||
let {directory,file,fragment,fileExt} = URI;
|
let {directory,file,fragment,fileExt} = URI;
|
||||||
model.file = URI.file
|
model.file = URI.file
|
||||||
xrf.model = model
|
xrf.model = model
|
||||||
xrf.scene = model.scene
|
// xrf.scene = model.scene
|
||||||
|
|
||||||
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
||||||
|
|
||||||
|
|
|
||||||
4
dist/xrfragment.three.module.js
vendored
4
dist/xrfragment.three.module.js
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* v0.5.1 generated at Mon Jul 15 02:49:04 PM UTC 2024
|
* v0.5.1 generated at Wed Jul 17 01:21:07 PM UTC 2024
|
||||||
* https://xrfragment.org
|
* https://xrfragment.org
|
||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
@ -1937,7 +1937,7 @@ xrf.loadModel = function(model,url,noadd){
|
||||||
let {directory,file,fragment,fileExt} = URI;
|
let {directory,file,fragment,fileExt} = URI;
|
||||||
model.file = URI.file
|
model.file = URI.file
|
||||||
xrf.model = model
|
xrf.model = model
|
||||||
xrf.scene = model.scene
|
// xrf.scene = model.scene
|
||||||
|
|
||||||
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ xrf.loadModel = function(model,url,noadd){
|
||||||
let {directory,file,fragment,fileExt} = URI;
|
let {directory,file,fragment,fileExt} = URI;
|
||||||
model.file = URI.file
|
model.file = URI.file
|
||||||
xrf.model = model
|
xrf.model = model
|
||||||
xrf.scene = model.scene
|
// xrf.scene = model.scene
|
||||||
|
|
||||||
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
if( !model.isXRF ) xrf.parseModel(model,url.replace(directory,"")) // this marks the model as an XRF model
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue