~Upgraded CSLA library to v3.0.5

This commit is contained in:
Chris Glavan committed 2024-03-18 11:42:04 -04:00
1 parent 8e433cc28e
commit b01a9edc1e
8 files changed
+74 -7

No files matched your search

+4 -2
View File
@@ -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;