Hide the shadow while scaling
This commit is contained in:
parent
8a5c7fb6b2
commit
b3af3cd51f
3 changed files with 7 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue