diff --git a/MatterControlLib/DesignTools/Sheets/SheetObject3D.cs b/MatterControlLib/DesignTools/Sheets/SheetObject3D.cs index dc79bf180..0a8c1d123 100644 --- a/MatterControlLib/DesignTools/Sheets/SheetObject3D.cs +++ b/MatterControlLib/DesignTools/Sheets/SheetObject3D.cs @@ -343,8 +343,7 @@ namespace MatterHackers.MatterControl.DesignTools int index = 0; foreach (var child in arrayObject.Children) { - if (!(child is OperationSourceContainerObject3D) - && !(child is OperationSourceObject3D)) + if (!(child is OperationSourceObject3D)) { if (child.DescendantsAndSelf().Where(i => i == owner).Any()) { @@ -385,8 +384,9 @@ namespace MatterHackers.MatterControl.DesignTools return stringWithConstants; } - public static T EvaluateExpression(IObject3D owner, string inputExpression) + public static T EvaluateExpression(IObject3D owner, string inExpression) { + var inputExpression = inExpression; var printer = owner.ContainingPrinter(); if (printer != null) {