1
0
Fork 0

boom: Updated for compatibility with freesewing 0.10

This commit is contained in:
Joost De Cock 2018-08-24 12:58:56 +02:00
parent df8dff9f3f
commit a436a53885
2 changed files with 7 additions and 7 deletions

View file

@ -16,12 +16,12 @@ export default {
commonjs(), commonjs(),
babel({ babel({
exclude: "node_modules/**" exclude: "node_modules/**"
}),
terser({
output: {
preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
}
}) })
//terser({
// output: {
// preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
// }
//})
], ],
external: ["freesewing", "@freesewing/plugin-bundle"], external: ["freesewing", "@freesewing/plugin-bundle"],
output: { output: {

View file

@ -69,7 +69,7 @@ var base = {
); );
points._tmp1 = new Point(points.armholePitch.x, points.armhole.y); points._tmp1 = new Point(points.armholePitch.x, points.armhole.y);
points._tmp2 = points._tmp1.shift(45, 10); points._tmp2 = points._tmp1.shift(45, 10);
points._tmp3 = utils.beamsCross( points._tmp3 = utils.beamsIntersect(
points._tmp1, points._tmp1,
points._tmp2, points._tmp2,
points.armhole, points.armhole,
@ -104,7 +104,7 @@ var base = {
points._tmp4 = points.neck points._tmp4 = points.neck
.shiftTowards(points.shoulder, 10) .shiftTowards(points.shoulder, 10)
.rotate(-90, points.neck); .rotate(-90, points.neck);
points.neckCp2 = utils.beamCrossesY( points.neckCp2 = utils.beamIntersectsY(
points.neck, points.neck,
points._tmp4, points._tmp4,
points.cbNeck.y points.cbNeck.y