mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
Visual mode: middle sidedef geometry of single-sided linedefs was rendered differently than in (G)ZDoom in some cases.
This commit is contained in:
parent
8555d75cd2
commit
8ba1d9c3a7
2 changed files with 3 additions and 2 deletions
|
@ -488,7 +488,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
}
|
||||
|
||||
//mxd
|
||||
if(General.Map.UDMF) {
|
||||
if(General.Map.UDMF)
|
||||
{
|
||||
foreach(KeyValuePair<Vertex, VisualVertexPair> pair in vertices)
|
||||
pair.Value.Update();
|
||||
}
|
||||
|
|
|
@ -297,7 +297,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
VisualSidedefParts parts = oldsides.ContainsKey(sd) ? oldsides[sd] : new VisualSidedefParts();
|
||||
|
||||
// Doublesided or singlesided?
|
||||
if(sd.Other != null)
|
||||
if(sd.Other != null && sd.Line.IsFlagSet(General.Map.Config.DoubleSidedFlag))
|
||||
{
|
||||
// Create upper part
|
||||
VisualUpper vu = parts.upper ?? new VisualUpper(mode, this, sd);
|
||||
|
|
Loading…
Reference in a new issue