wrench: Tweaked options based on sample test
This commit is contained in:
parent
f6905dcb1e
commit
adebec8b4b
6 changed files with 38 additions and 31 deletions
|
@ -4,8 +4,6 @@
|
|||
export const calculateRatios = part => {
|
||||
let { store, measurements, options } = part.shorthand();
|
||||
|
||||
if (store.get("ratiosCalculated")) return true;
|
||||
|
||||
// Make sure collar height makes sense
|
||||
if (options.collarHeight * 2 < options.rollLineCollarHeight) options.rollLineCollarHeight = options.collarHeight * 2;
|
||||
|
||||
|
@ -25,8 +23,6 @@ export const calculateRatios = part => {
|
|||
store.set("hipsReductionFront", store.get("hipsReduction") * options.hipsReductionRatioFront);
|
||||
store.set("hipsReductionSide", store.get("hipsReduction") * (1 - options.hipsReductionRatioFront - options.hipsReductionRatioBack));
|
||||
|
||||
store.set("ratiosCalculated", true);
|
||||
|
||||
// FIXME: Still needed?
|
||||
// Prevent chest shaping from being 0, because that will get read as 360 degrees
|
||||
// if($this->o('chestShaping') == 0) $this->setOptionIfUnset('chestShaping', 0.0001);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue