If running in Batch mode for automatic print testing, don't stop on a fatal error.
Fixed a null reference error. If box is null don't try to update it's properties.
This commit is contained in:
@@ -226,7 +226,7 @@ namespace Volian.Print.Library
|
||||
// increment the y offset if not doing the ComponentTableFormat
|
||||
else if (!para.UseTemplateKeepOnCurLine(childItemInfo))
|
||||
yoff = para.YBottomMost;
|
||||
if (childItemInfo.FormatStepData != null && childItemInfo.FormatStepData.BoxIt)
|
||||
if (box != null && childItemInfo.FormatStepData != null && childItemInfo.FormatStepData.BoxIt)
|
||||
{
|
||||
box.Height = yoff - box.YOffset - (1.1F * vlnPrintObject.SixLinesPerInch);
|
||||
box = null; // if doing boxed steps, only do single sibling at a time.
|
||||
|
Reference in New Issue
Block a user