mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 09:32:34 +00:00
Fixed, Visual Mode: untextured middle parts of double-sided linedefs were selected when Shift-selecting a sidedef part with missing texture ("-").
This commit is contained in:
parent
297d7d281b
commit
2cff348dbb
1 changed files with 3 additions and 3 deletions
|
@ -477,7 +477,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
&& BuilderModesTools.GetSidedefPartSize(line.Front, VisualGeometryType.WALL_UPPER).IntersectsWith(rect));
|
||||
|
||||
addFrontMiddle = (line.Front.MiddleTexture == texture
|
||||
&& (line.Front.MiddleRequired() || line.Back != null)
|
||||
&& (line.Front.MiddleRequired() || (line.Back != null && texture != "-"))
|
||||
&& line.Front.GetMiddleHeight() > 0
|
||||
&& BuilderModesTools.GetSidedefPartSize(line.Front, VisualGeometryType.WALL_MIDDLE).IntersectsWith(rect));
|
||||
|
||||
|
@ -493,8 +493,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
&& line.Back.HighRequired()
|
||||
&& BuilderModesTools.GetSidedefPartSize(line.Back, VisualGeometryType.WALL_UPPER).IntersectsWith(rect));
|
||||
|
||||
addBackMiddle = (line.Back.MiddleTexture == texture
|
||||
&& (line.Back.MiddleRequired() || line.Front != null)
|
||||
addBackMiddle = (line.Back.MiddleTexture == texture
|
||||
&& (line.Back.MiddleRequired() || (line.Front != null && texture != "-"))
|
||||
&& line.Back.GetMiddleHeight() > 0
|
||||
&& BuilderModesTools.GetSidedefPartSize(line.Back, VisualGeometryType.WALL_MIDDLE).IntersectsWith(rect));
|
||||
|
||||
|
|
Loading…
Reference in a new issue