mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Edit Selection Mode: fixed a problem where floor and ceiling textures were unintentionally scaled in UDMF when resizing the selection. Fixes #873
This commit is contained in:
parent
724bd24d37
commit
86f1532a9f
1 changed files with 2 additions and 2 deletions
|
@ -914,8 +914,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
fields["xpanning" + si.Part] = new UniValue(UniversalType.Float, si.Offset.x);
|
||||
fields["ypanning" + si.Part] = new UniValue(UniversalType.Float, si.Offset.y);
|
||||
fields["rotation" + si.Part] = new UniValue(UniversalType.AngleDegreesFloat, Angle2D.RadToDeg(si.Rotation));
|
||||
fields["xscale" + si.Part] = new UniValue(UniversalType.Float, Math.Round(si.Scale.x * scale.x, General.Map.FormatInterface.VertexDecimals));
|
||||
fields["yscale" + si.Part] = new UniValue(UniversalType.Float, Math.Round(-si.Scale.y * scale.y, General.Map.FormatInterface.VertexDecimals));
|
||||
//fields["xscale" + si.Part] = new UniValue(UniversalType.Float, Math.Round(si.Scale.x * scale.x, General.Map.FormatInterface.VertexDecimals));
|
||||
//fields["yscale" + si.Part] = new UniValue(UniversalType.Float, Math.Round(-si.Scale.y * scale.y, General.Map.FormatInterface.VertexDecimals));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue