bug(breanna): Fixed dependency issue in Breanna
This commit is contained in:
parent
e7de33f374
commit
97f8d646a4
2 changed files with 4 additions and 5 deletions
|
@ -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',
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue