@eturnity/eturnity_3d 1.0.20 → 1.0.22
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
|
@@ -735,7 +735,8 @@ export default {
|
|
|
735
735
|
clearPanelsFromChangingRoofs(roofIds){
|
|
736
736
|
const roofs=this.polygons.filter(polygon=>roofIds.includes(polygon.id))
|
|
737
737
|
roofs.forEach(roof=>roof.moduleFields.forEach(mf=>mf.panels.forEach(panel=>{
|
|
738
|
-
|
|
738
|
+
let mesh=this.meshes.panelsMeshes[panel.id+'_top']
|
|
739
|
+
if(mesh){
|
|
739
740
|
this.clearMesh(mesh)
|
|
740
741
|
}
|
|
741
742
|
})
|