@eturnity/eturnity_maths 7.48.0 → 7.48.1

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": "7.48.0",
3
+ "version": "7.48.1",
4
4
  "author": "Eturnity Team",
5
5
  "main": "src/index.js",
6
6
  "private": false,
@@ -171,7 +171,7 @@ export class Polygon {
171
171
  return translate2D(point, vectorInMm)
172
172
  })
173
173
 
174
- if (this.layer == 'moduleField') {
174
+ if (this.layer == 'moduleField' && this.trimedOutline) {
175
175
  this.trimedOutline = this.trimedOutline.map((point) => {
176
176
  return addVector(point, vectorInMm)
177
177
  })