Visual Mode: fixed an issue where using the "apply camera rotation to things" action did not update the thing cages properly

This commit is contained in:
biwa 2022-05-08 16:42:15 +02:00
parent c3f3e451c5
commit d1e9043958

View file

@ -4712,6 +4712,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
{ {
t.Rotate(General.Map.VisualCamera.AngleXY - Angle2D.PI); t.Rotate(General.Map.VisualCamera.AngleXY - Angle2D.PI);
t.SetPitch((int)Angle2D.RadToDeg(General.Map.VisualCamera.AngleZ - Angle2D.PI)); t.SetPitch((int)Angle2D.RadToDeg(General.Map.VisualCamera.AngleZ - Angle2D.PI));
((BaseVisualThing)allthings[t]).Rebuild();
} }
} }