1
0
Fork 0

bug(breanna): Fixed dependency issue in Breanna

This commit is contained in:
Joost De Cock 2020-02-17 18:04:09 +01:00
parent e7de33f374
commit 97f8d646a4
2 changed files with 4 additions and 5 deletions

View file

@ -83,11 +83,10 @@ export default {
'wristCircumference'
],
dependencies: {
back: 'base',
frontBase: 'base',
frontBase: 'back',
front: ['back', 'frontBase'],
sleevecap: 'front',
sleeve: 'sleevecap'
sleevecap: ['front', 'frontBase', 'back'],
sleeve: ['sleevecap', 'front', 'frontBase', 'back']
},
inject: {
back: 'base',

View file

@ -48,7 +48,7 @@ function draftSleevecap(part, run) {
halfWidth * options.sleeveWidthGuarantee +
halfWidth * (1 - options.sleeveWidthGuarantee) * store.get('sleeveFactor')
)
points.bicepsRight = points.bicepsLeft.flipX(points.centerBiceps)
points.bicepsRight = points.bicepsLeft.flipX()
// Adapt sleeve center axis
points.capLeft = new Point(points.bicepsLeft.x, points.centerCap.y)