~Upgraded CSLA library to v3.0.5
This commit is contained in:
@@ -1407,7 +1407,8 @@ namespace Volian.Print.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
StepConfig sc = new StepConfig(MyItemInfo as StepInfo);
|
||||
StepInfo si = (StepInfo)MyItemInfo;
|
||||
StepConfig sc = new StepConfig(si.MyContent.Config);
|
||||
if (sc != null && sc.Step_ImageWidth != 0)
|
||||
{
|
||||
Width = sc.Step_ImageWidth;
|
||||
@@ -4184,7 +4185,8 @@ namespace Volian.Print.Library
|
||||
{
|
||||
Width *= (h2 / h1);
|
||||
}
|
||||
StepConfig sc = new StepConfig(MyItemInfo as StepInfo);
|
||||
StepInfo si = (StepInfo)MyItemInfo;
|
||||
StepConfig sc = new StepConfig(si.MyContent.Config);
|
||||
if (sc != null && sc.Step_ImageWidth != 0)
|
||||
{
|
||||
Width = sc.Step_ImageWidth;
|
||||
|
Reference in New Issue
Block a user