@eturnity/eturnity_3d 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_3d",
3
3
  "private": false,
4
- "version": "1.0.19",
4
+ "version": "1.0.20",
5
5
  "main": "dist/main.js",
6
6
  "scripts": {
7
7
  "dev": "vue-cli-service serve --skip-plugins @vue/cli-plugin-eslint",
@@ -734,11 +734,12 @@ export default {
734
734
  },
735
735
  clearPanelsFromChangingRoofs(roofIds){
736
736
  const roofs=this.polygons.filter(polygon=>roofIds.includes(polygon.id))
737
- roofs.moduleFields.forEach(mf=>mf.panels.forEach(panel=>{
738
- if(this.meshes.panelsMeshes[panel.id+'_top']){
739
- this.clearMesh(mesh)
740
- }
741
- })
737
+ roofs.forEach(roof=>roof.moduleFields.forEach(mf=>mf.panels.forEach(panel=>{
738
+ if(this.meshes.panelsMeshes[panel.id+'_top']){
739
+ this.clearMesh(mesh)
740
+ }
741
+ })
742
+ )
742
743
  )
743
744
  },
744
745
  renderPanels() {