diff --git a/MatterControlLib/DesignTools/EditorTools/ScaleControls/ScaleHeightControl.cs b/MatterControlLib/DesignTools/EditorTools/ScaleControls/ScaleHeightControl.cs index 5bcc7795b..8f238f96e 100644 --- a/MatterControlLib/DesignTools/EditorTools/ScaleControls/ScaleHeightControl.cs +++ b/MatterControlLib/DesignTools/EditorTools/ScaleControls/ScaleHeightControl.cs @@ -266,6 +266,8 @@ namespace MatterHackers.Plugins.EditorTools { heightOnMouseDown = heightObject.Height; } + + Object3DControlContext.Scene.ShowSelectionShadow = false; } base.OnMouseDown(mouseEvent3D); @@ -342,6 +344,7 @@ namespace MatterHackers.Plugins.EditorTools && heightObject.Height != heightOnMouseDown) { SetHeightUndo(heightObject.Height, heightOnMouseDown); + Object3DControlContext.Scene.ShowSelectionShadow = true; } base.OnMouseUp(mouseEvent3D); diff --git a/MatterControlLib/DesignTools/EditorTools/ScaleControls/ScaleWidthDepthControl.cs b/MatterControlLib/DesignTools/EditorTools/ScaleControls/ScaleWidthDepthControl.cs index b8a9ad31d..acb7c8662 100644 --- a/MatterControlLib/DesignTools/EditorTools/ScaleControls/ScaleWidthDepthControl.cs +++ b/MatterControlLib/DesignTools/EditorTools/ScaleControls/ScaleWidthDepthControl.cs @@ -323,6 +323,8 @@ namespace MatterHackers.Plugins.EditorTools { sizeOnMouseDown = new Vector2(widthDepthItem.Width, widthDepthItem.Depth); } + + Object3DControlContext.Scene.ShowSelectionShadow = false; } base.OnMouseDown(mouseEvent3D); @@ -417,6 +419,7 @@ namespace MatterHackers.Plugins.EditorTools && (widthDepthItem.Width != sizeOnMouseDown.X || widthDepthItem.Depth != sizeOnMouseDown.Y)) { SetWidthDepthUndo(new Vector2(widthDepthItem.Width, widthDepthItem.Depth), sizeOnMouseDown); + Object3DControlContext.Scene.ShowSelectionShadow = true; } base.OnMouseUp(mouseEvent3D); diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index 3d28d3900..d86aca050 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit 3d28d3900588a616f1a20ee64c2dc2863fa678c5 +Subproject commit d86aca05037188d3a43909ee1042327a461f9ff2