mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-30 08:32:00 +00:00
Visual mode, auto align textures: actually, it won't break anything if we vertical clamp texture offsets of a 3d floor sidedef while auto-aligning (this reverts a part of previous commit)...
Classic modes: event lines are drawn once again while panning the view (I've disabled this a while ago trying to fix performance problems in Classic modes).
This commit is contained in:
parent
766e4d46f3
commit
0654cec075
4 changed files with 9 additions and 11 deletions
|
@ -3218,7 +3218,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
if(j.sidedef.Index != j.controlSide.Index) {
|
||||
offset -= j.controlSide.OffsetY;
|
||||
offset -= j.controlSide.Fields.GetValue("offsety_mid", 0.0f);
|
||||
j.sidedef.Fields["offsety_mid"] = new UniValue(UniversalType.Float, offset);
|
||||
j.sidedef.Fields["offsety_mid"] = new UniValue(UniversalType.Float, offset % texture.Height);
|
||||
} else {
|
||||
offset = GetMiddleOffsetY(j.sidedef, offset, j.scaleY, true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue