mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
Fixed: changing brightness of upper/lower/middle sidedef did not update the whole sidedef brightness until 3D mode restart
This commit is contained in:
parent
cafd1a6f4e
commit
fbbfaad579
1 changed files with 6 additions and 2 deletions
|
@ -1478,7 +1478,11 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
mode.SetActionResult("Changed wall brightness to " + newlight + ".");
|
||||
|
||||
// Update this part only
|
||||
this.Setup();
|
||||
//this.Setup();
|
||||
// [ZZ] why the hell was maxed updating only this part? sidedef change is global per sidedef, not only upper/lower/middle part.
|
||||
// find this sidedef in sector, update all parts.
|
||||
VisualSidedefParts parts = Sector.GetSidedefParts(Sidedef);
|
||||
parts.SetupAllParts();
|
||||
}
|
||||
else if(!Sector.Changed)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue