@eturnity/eturnity_maths 6.48.3 → 6.48.4

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_maths",
3
- "version": "6.48.3",
3
+ "version": "6.48.4",
4
4
  "author": "Eturnity Team",
5
5
  "main": "src/index.js",
6
6
  "private": false,
@@ -152,12 +152,12 @@ export class Polygon {
152
152
  const modules=[]
153
153
  if(this.panels){
154
154
  this.panels.forEach((p) => {
155
- modules.push({ id: p.id, index: p.index, outline: p.outline, status: p.status || "active" })
155
+ modules.push({ id: p.id, index: p.index, outline: p.outline, status: p.status || "active",clipped:p.clipped || false })
156
156
  })
157
157
  }
158
158
  if(this.userDeactivatedPanels){
159
159
  this.userDeactivatedPanels.forEach((p) => {
160
- modules.push({ id: p.id, index: p.index, outline: p.outline, status: p.status || "user_deactivated" })
160
+ modules.push({ id: p.id, index: p.index, outline: p.outline, status: p.status || "user_deactivated",clipped:p.clipped || false })
161
161
  })
162
162
  }
163
163
  extraSerialization.data = {...this.data,modules:[...this.data.modules]}
@@ -1,3 +1,4 @@
1
+ import { Polygon } from "./Polygon"
1
2
  export function hydratePolygon(serializedPolygon){
2
3
  const layer=serializedPolygon.layer
3
4
  let polygon=new Polygon(serializedPolygon.outline,layer)