From 6a895cdf65a58cc154e44f5dfd10cb3c1951b748 Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Sat, 3 Aug 2019 09:54:02 +0200 Subject: [PATCH] improve BC limb handling --- src/uncategorized/BackwardsCompatibility.tw | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index fcc3dbe857c..96e3153d892 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -3466,8 +3466,10 @@ Setting missing slave variables: <</for>> <</if>> -<<if _Slave.amp == 1>> +<<if _Slave.amp > 0>> <<set _Slave.missingArms = 3, _Slave.missingLegs = 3>> +<<elseif _Slave.amp < 0>> + <<set _Slave.missingArms = 0, _Slave.missingLegs = 0>> <</if>> <<set $slaves[_bci] = _Slave>> @@ -3961,4 +3963,4 @@ Done<br> <<set $JobIDArray = resetJobIDArray()>> /* reset NaNArray after BC is run */ -<<set $NaNArray = findNaN()>> \ No newline at end of file +<<set $NaNArray = findNaN()>> -- GitLab