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' 'wristCircumference'
], ],
dependencies: { dependencies: {
back: 'base', frontBase: 'back',
frontBase: 'base',
front: ['back', 'frontBase'], front: ['back', 'frontBase'],
sleevecap: 'front', sleevecap: ['front', 'frontBase', 'back'],
sleeve: 'sleevecap' sleeve: ['sleevecap', 'front', 'frontBase', 'back']
}, },
inject: { inject: {
back: 'base', back: 'base',

View file

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