Fixing null errors in expressions
Changed to requiring = at start of equation
This commit is contained in:
parent
28bd0a1071
commit
3d068ef868
15 changed files with 252 additions and 144 deletions
|
|
@ -327,8 +327,8 @@ namespace MatterHackers.Plugins.EditorTools
|
|||
{
|
||||
if (hadClickOnControl)
|
||||
{
|
||||
if (getWidth() != scaleController.InitialState.Width
|
||||
|| getDepth() != scaleController.InitialState.Depth)
|
||||
if ((getWidth != null && getWidth() != scaleController.InitialState.Width)
|
||||
|| (getDepth != null && getDepth() != scaleController.InitialState.Depth))
|
||||
{
|
||||
scaleController.EditComplete();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue