mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +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
|
//mxd
|
||||||
if(General.Map.UDMF) {
|
if(General.Map.UDMF)
|
||||||
|
{
|
||||||
foreach(KeyValuePair<Vertex, VisualVertexPair> pair in vertices)
|
foreach(KeyValuePair<Vertex, VisualVertexPair> pair in vertices)
|
||||||
pair.Value.Update();
|
pair.Value.Update();
|
||||||
}
|
}
|
||||||
|
|
|
@ -297,7 +297,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
VisualSidedefParts parts = oldsides.ContainsKey(sd) ? oldsides[sd] : new VisualSidedefParts();
|
VisualSidedefParts parts = oldsides.ContainsKey(sd) ? oldsides[sd] : new VisualSidedefParts();
|
||||||
|
|
||||||
// Doublesided or singlesided?
|
// Doublesided or singlesided?
|
||||||
if(sd.Other != null)
|
if(sd.Other != null && sd.Line.IsFlagSet(General.Map.Config.DoubleSidedFlag))
|
||||||
{
|
{
|
||||||
// Create upper part
|
// Create upper part
|
||||||
VisualUpper vu = parts.upper ?? new VisualUpper(mode, this, sd);
|
VisualUpper vu = parts.upper ?? new VisualUpper(mode, this, sd);
|
||||||
|
|
Loading…
Reference in a new issue