implemented the UsesSTExtraRealValue flag
B2012-188 - added logic for the PREDELIMEOPNUM pagelist token.
This commit is contained in:
@@ -962,7 +962,8 @@ namespace Volian.Print.Library
|
||||
float addExtraSpace = (MyItemInfo.FormatStepData == null) ? 0 : MyItemInfo.FormatStepData.StepLayoutData.STExtraSpace ?? 0;
|
||||
// If a high level step, the 16bit code uses the value of the extra space
|
||||
// from the high level step format regardless of what type of high level step it is:
|
||||
if (MyItemInfo.IsHigh)
|
||||
// Added check for UseSTExtraRealValue, if set, we want to use what is set for the specific step type
|
||||
if (!MyItemInfo.ActiveFormat.MyStepSectionLayoutData.UseSTExtraRealValue && MyItemInfo.IsHigh)
|
||||
addExtraSpace = MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList[2].StepLayoutData.STExtraSpace ?? 0;
|
||||
if (addExtraSpace > 0) this.PartsAbove.Add(new vlnText(cb, this, " ", " ", 0, yoff, MyItemInfo.FormatStepData.Font));
|
||||
yoff += addExtraSpace;
|
||||
|
Reference in New Issue
Block a user