Visual mode: middle sidedef geometry of single-sided linedefs was rendered differently than in (G)ZDoom in some cases.

This commit is contained in:
MaxED 2014-05-21 09:22:37 +00:00
parent 8555d75cd2
commit 8ba1d9c3a7
2 changed files with 3 additions and 2 deletions

View file

@ -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();
}

View file

@ -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);