mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 14:30:26 +00:00
Fix build errors
This commit is contained in:
parent
ee184391fb
commit
0694817a1f
1 changed files with 7 additions and 3 deletions
|
@ -132,9 +132,13 @@ namespace FirstPlugin.MuuntEditor
|
|||
|
||||
public override void ApplyTransformActionToSelection(AbstractTransformAction transformAction, ref TransformChangeInfos infos)
|
||||
{
|
||||
Position = transformAction.NewPos(Position, out Vector3? prevPos);
|
||||
rotation = transformAction.NewRot(rotation, out Quaternion? prevRot);
|
||||
scale = transformAction.NewScale(scale, out Vector3? prevScale);
|
||||
Vector3? prevPos;
|
||||
Quaternion? prevRot;
|
||||
Vector3? prevScale;
|
||||
|
||||
Position = transformAction.NewPos(Position, out prevPos);
|
||||
rotation = transformAction.NewRot(rotation, out prevRot);
|
||||
scale = transformAction.NewScale(scale, out prevScale);
|
||||
infos.Add(this, 0, prevPos, prevRot, prevScale);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue