Hide the shadow while scaling

This commit is contained in:
LarsBrubaker 2021-04-15 07:33:08 -07:00 committed by Lars Brubaker
parent 8a5c7fb6b2
commit b3af3cd51f
3 changed files with 7 additions and 1 deletions

View file

@ -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);