mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-01-30 20:50:41 +00:00
Add missing backside check to clear midtextures action
This commit is contained in:
parent
51fa48a160
commit
e81270fa47
2 changed files with 6 additions and 3 deletions
|
@ -1810,8 +1810,11 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
foreach (Linedef l in selected)
|
||||
{
|
||||
l.SetFlag(General.Map.Config.PegMidtextureFlag, false);
|
||||
l.Front.SetTextureMid("-");
|
||||
l.Back.SetTextureMid("-");
|
||||
if (l.Back != null)
|
||||
{
|
||||
l.Front.SetTextureMid("-");
|
||||
l.Back.SetTextureMid("-");
|
||||
}
|
||||
}
|
||||
|
||||
// Update cache values
|
||||
|
|
|
@ -378,7 +378,7 @@ clearmidtextures
|
|||
{
|
||||
title = "Clear midtextures";
|
||||
category = "classic";
|
||||
description = "This removes all midtextures from the selected lines, and removes their Peg Midtexture flag.";
|
||||
description = "This removes all midtextures from all two-sided lines in your selection, and removes their Peg Midtexture flag.";
|
||||
allowkeys = true;
|
||||
allowmouse = true;
|
||||
allowscroll = true;
|
||||
|
|
Loading…
Reference in a new issue