1
0
Fork 0

🐛 Removed inherited snippets. Fixes #78

This commit is contained in:
Joost De Cock 2019-09-01 19:15:39 +02:00
parent ea4ce04936
commit 97a74adb14
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@ export default function(part) {
let { snippets, Point, macro, points, Path, paths, complete, sa, paperless } = part.shorthand()
// Clean up paths from paperless dimensions
for (let id in paths) delete paths[id]
for (let id in snippets) delete snippets[id]
// We need to split the crotch curve at the bottom of the fly
paths.fly = new Path()

View file

@ -2,7 +2,7 @@ export default function(part) {
let { macro, Point, points, Path, paths, complete, sa, paperless, snippets } = part.shorthand()
// Clean up paths from paperless dimensions
for (let id in paths) delete paths[id]
delete snippets.logo
for (let id in snippets) delete snippets[id]
// Add points
points.topLeft = new Path()