All the corner and edge controls are working

This commit is contained in:
Lars Brubaker 2021-04-16 17:03:39 -07:00
parent b13b3ed056
commit fa80380c26
12 changed files with 162 additions and 86 deletions

View file

@ -340,10 +340,14 @@ namespace MatterHackers.Plugins.EditorTools
public override void OnMouseUp(Mouse3DEventArgs mouseEvent3D)
{
if (activeSelectedItem is IObjectWithHeight heightObject
&& heightObject.Height != heightOnMouseDown)
if (MouseDownOnControl)
{
SetHeightUndo(heightObject.Height, heightOnMouseDown);
if (activeSelectedItem is IObjectWithHeight heightObject
&& heightObject.Height != heightOnMouseDown)
{
SetHeightUndo(heightObject.Height, heightOnMouseDown);
}
Object3DControlContext.Scene.ShowSelectionShadow = true;
}