improving expression field

This commit is contained in:
Lars Brubaker 2021-06-03 18:23:21 -07:00
parent 24a91354a0
commit 480566ff9d
3 changed files with 34 additions and 10 deletions

View file

@ -214,7 +214,10 @@ namespace MatterHackers.Plugins.EditorTools
}
}
InitialState.Matrix = selectedItem.Matrix;
if (selectedItem != null)
{
InitialState.Matrix = selectedItem.Matrix;
}
FinalState = new ScaleStates(InitialState);
}