@eturnity/eturnity_3d 8.4.3-EPDM-13208.7 → 8.7.0
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 +2 -2
- package/src/store/hydrateData.js +1 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eturnity/eturnity_3d",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.7.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"src"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"prettier": "prettier --write \"**/*.{js,vue}\""
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@eturnity/eturnity_maths": "8.
|
|
18
|
+
"@eturnity/eturnity_maths": "8.7.0",
|
|
19
19
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
|
20
20
|
"core-js": "3.30.2",
|
|
21
21
|
"cors": "2.8.5",
|
package/src/store/hydrateData.js
CHANGED
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
updateComputedGeometryPolygon,
|
|
5
5
|
getRoofMarginOutline,
|
|
6
6
|
getObstacleMarginOutline,
|
|
7
|
-
midPoint,
|
|
8
7
|
} from '@eturnity/eturnity_maths'
|
|
9
8
|
import OverlayLayer from '../Overlay/OverlayLayer'
|
|
10
9
|
import getLayers from '../utils/layers'
|
|
@@ -188,7 +187,7 @@ export async function hydratePolygons({
|
|
|
188
187
|
const outline = module.outline.map((p) => {
|
|
189
188
|
return { x: p[0], y: p[1], z: p[2] }
|
|
190
189
|
})
|
|
191
|
-
|
|
190
|
+
const panel = new Polygon(outline, '')
|
|
192
191
|
panel.id = module.module_uuid
|
|
193
192
|
panel.row_index = module.row_index
|
|
194
193
|
panel.col_index = module.col_index
|
|
@@ -212,7 +211,6 @@ export async function hydratePolygons({
|
|
|
212
211
|
userDeactivatedPanels.push(panel)
|
|
213
212
|
break
|
|
214
213
|
}
|
|
215
|
-
panel = updateComputedGeometryPolygon(panel)
|
|
216
214
|
})
|
|
217
215
|
|
|
218
216
|
const roof = roofs.find((r) => r.id == moduleFieldResp.roof_uuid)
|