trim support to part shadow in non-belt modes. fix part support offset
This commit is contained in:
parent
c53741169e
commit
cbf5d492b8
2 changed files with 23 additions and 6 deletions
|
|
@ -860,12 +860,14 @@
|
|||
}
|
||||
|
||||
function loadDeviceImage(dev, url) {
|
||||
new THREE.TextureLoader().load(url || dev.imageURL, texture => {
|
||||
let turl = url || dev.imageURL;
|
||||
if (!turl) return;
|
||||
new THREE.TextureLoader().load(turl, texture => {
|
||||
loadDeviceTexture(dev, texture);
|
||||
}, inc => {
|
||||
console.log({load_inc: inc});
|
||||
}, error => {
|
||||
console.log({load_error: error});
|
||||
console.log({load_error: error, turl});
|
||||
clearDeviceTexture();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue