From 4c3d17a290dc2c0ad0444e4b444687553336460f Mon Sep 17 00:00:00 2001 From: MaxED Date: Thu, 18 Jun 2015 14:01:31 +0000 Subject: [PATCH] Fixed, Edit Selection mode: floor/ceiling textures rotation was not converted from radians to degrees when "Transform Texture Rotation" setting was disabled. --- Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs b/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs index 52a5752e..20686536 100644 --- a/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs +++ b/Source/Plugins/BuilderModes/ClassicModes/EditSelectionMode.cs @@ -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)