fix(titan): Ensure a waistIn part in back
Fixes https://github.com/freesewing/freesewing/issues/855
This commit is contained in:
parent
f7659d7e59
commit
6eb28b88c0
1 changed files with 4 additions and 3 deletions
|
@ -157,10 +157,11 @@ export default (part) => {
|
||||||
// Balance the waist
|
// Balance the waist
|
||||||
if (points.cbSeat.x < points.waistX.x) {
|
if (points.cbSeat.x < points.waistX.x) {
|
||||||
let delta = points.cbSeat.dx(points.waistX)
|
let delta = points.cbSeat.dx(points.waistX)
|
||||||
let width = points.waistX.x
|
|
||||||
points.waistIn = points.waistX.shift(180, delta * (1 - options.waistBalance))
|
points.waistIn = points.waistX.shift(180, delta * (1 - options.waistBalance))
|
||||||
|
console.log('balancing waist', points.waistIn)
|
||||||
|
} else points.waistIn = points.waistX
|
||||||
|
let width = points.waistX.x
|
||||||
points.waistOut = points.waistIn.shift(180, width)
|
points.waistOut = points.waistIn.shift(180, width)
|
||||||
}
|
|
||||||
|
|
||||||
// Cross seam
|
// Cross seam
|
||||||
drawCrossSeam()
|
drawCrossSeam()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue