diff --git a/MatterControlLib/DesignTools/Operations/ArrayObject3D.cs b/MatterControlLib/DesignTools/Operations/ArrayObject3D.cs index fa658b0f3..628e66fa0 100644 --- a/MatterControlLib/DesignTools/Operations/ArrayObject3D.cs +++ b/MatterControlLib/DesignTools/Operations/ArrayObject3D.cs @@ -65,7 +65,8 @@ namespace MatterHackers.MatterControl.DesignTools.Operations if (cellId != null) { - cellData = cellData.Replace(expansion.key, SheetObject3D.RetrieveArrayIndex(component, expansion.index).ToString()); + var newValue = cellData.Replace(expansion.key, SheetObject3D.RetrieveArrayIndex(component, expansion.index).ToString()); + component.SurfacedEditors[i] = "!" + cellId + "," + newValue; } } } @@ -103,6 +104,10 @@ namespace MatterHackers.MatterControl.DesignTools.Operations // we don't need to rebuild our source object return false; } + else if (item.Parent is ComponentObject3D) + { + return false; + } // process everything else return true; diff --git a/MatterControlLib/DesignTools/Primitives/ComponentObject3D.cs b/MatterControlLib/DesignTools/Primitives/ComponentObject3D.cs index 148041b66..b7362bed1 100644 --- a/MatterControlLib/DesignTools/Primitives/ComponentObject3D.cs +++ b/MatterControlLib/DesignTools/Primitives/ComponentObject3D.cs @@ -213,6 +213,7 @@ namespace MatterHackers.MatterControl.DesignTools switch(invalidateType.InvalidateType) { case InvalidateType.SheetUpdated: + case InvalidateType.Properties: RecalculateSheet(); break; } diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index e6ab6cc55..a21b65528 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit e6ab6cc55ca02e6527da36e9a188bad9aa23b318 +Subproject commit a21b6552802953da38d3c180cf7043e4e1af611b