@@ -133,6 +133,11 @@ namespace Ichni.Editor
|
||||
|
||||
private void ApplyParameters()
|
||||
{
|
||||
if (connectedBaseElement == null || string.IsNullOrEmpty(parameterName))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Vector3 newValue = new Vector3(float.Parse(inputFieldX.text), float.Parse(inputFieldY.text), float.Parse(inputFieldZ.text));
|
||||
Ichni.Editor.Commands.CommandManager.ExecuteCommand(new Ichni.Editor.Commands.ChangeValueCommand(connectedBaseElement, parameterName, newValue));
|
||||
}
|
||||
@@ -143,4 +148,4 @@ namespace Ichni.Editor
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user