mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Fixed, Edit Selection mode: floor/ceiling textures rotation was not converted from radians to degrees when "Transform Texture Rotation" setting was disabled.
This commit is contained in:
parent
bb95af2207
commit
4c3d17a290
1 changed files with 1 additions and 1 deletions
|
@ -885,7 +885,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
fields["rotation" + si.Part] = new UniValue(UniversalType.AngleDegreesFloat, General.ClampAngle((float)Math.Round(Angle2D.RadToDeg(si.Rotation + texrotation), General.Map.FormatInterface.VertexDecimals)));
|
||||
// Restore rotation
|
||||
else
|
||||
fields["rotation" + si.Part] = new UniValue(UniversalType.AngleDegreesFloat, si.Rotation);
|
||||
fields["rotation" + si.Part] = new UniValue(UniversalType.AngleDegreesFloat, Angle2D.RadToDeg(si.Rotation));
|
||||
|
||||
// Update scale
|
||||
if(scaleoffsets)
|
||||
|
|
Loading…
Reference in a new issue