@eturnity/eturnity_3d
Advanced tools
Comparing version 1.0.22 to 1.0.23
{ | ||
"name": "@eturnity/eturnity_3d", | ||
"private": false, | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"main": "dist/main.js", | ||
@@ -11,3 +11,3 @@ "scripts": { | ||
"dependencies": { | ||
"@eturnity/eturnity_maths": "1.0.2", | ||
"@eturnity/eturnity_maths": "^1.0.2", | ||
"axios": "^1.3.2", | ||
@@ -14,0 +14,0 @@ "cors": "^2.8.5", |
@@ -146,3 +146,2 @@ import {mapState, mapGetters } from 'vuex' | ||
const name = geometryEvent.name | ||
console.log(name) | ||
const params = geometryEvent.params | ||
@@ -739,5 +738,7 @@ let methodList = [] | ||
roofs.forEach(roof=>roof.moduleFields.forEach(mf=>mf.panels.forEach(panel=>{ | ||
let mesh=this.meshes.panelsMeshes[panel.id+'_top'] | ||
if(mesh){ | ||
this.clearMesh(mesh) | ||
let meshTop=this.meshes.panelsMeshes[panel.id+'_top'] | ||
let meshSide=this.meshes.panelsMeshes[panel.id+'_side'] | ||
if(meshTop || meshSide){ | ||
this.clearMesh(meshTop) | ||
this.clearMesh(meshSide) | ||
} | ||
@@ -749,3 +750,2 @@ }) | ||
renderPanels() { | ||
console.log('renderPanels') | ||
this.clearRemovedOnes('panelsMeshes') | ||
@@ -1087,8 +1087,5 @@ //clear UserDeactivatedModules | ||
if (!this.material.panel[pvId]) { | ||
console.log('TEXTURE NOT YET in material',this.material) | ||
if (!mf.data.texture_img_url) { | ||
console.log('no texture for this mf=>go to default') | ||
this.material.panel[pvId] = this.material.panel.default | ||
} else { | ||
console.log('load texture ...') | ||
let texture = await this.loader.load(mf.data.texture_img_url) | ||
@@ -1095,0 +1092,0 @@ this.material.panel[pvId] = new THREE.MeshBasicMaterial({ |
14419370
66683
+ Added@eturnity/eturnity_maths@1.0.12(transitive)
- Removed@eturnity/eturnity_maths@1.0.2(transitive)