Visual Mode: when applying camera rotation and pitch to things a status message will now be displayed. Fixes #955

This commit is contained in:
biwa 2023-09-17 12:40:28 +02:00
parent 5ce1b3a799
commit 1d6c2a1c13

View file

@ -4789,6 +4789,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
t.Rotate(General.Map.VisualCamera.AngleXY - Angle2D.PI);
t.SetPitch((int)Angle2D.RadToDeg(General.Map.VisualCamera.AngleZ - Angle2D.PI));
((BaseVisualThing)allthings[t]).Rebuild();
General.Interface.DisplayStatus(StatusType.Action, $"Applied camera rotation and pitch to {things.Count} thing{(things.Count == 1 ? "" : "s")}.");
}
}