mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 12:22:35 +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)));
|
fields["rotation" + si.Part] = new UniValue(UniversalType.AngleDegreesFloat, General.ClampAngle((float)Math.Round(Angle2D.RadToDeg(si.Rotation + texrotation), General.Map.FormatInterface.VertexDecimals)));
|
||||||
// Restore rotation
|
// Restore rotation
|
||||||
else
|
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
|
// Update scale
|
||||||
if(scaleoffsets)
|
if(scaleoffsets)
|
||||||
|
|
Loading…
Reference in a new issue