mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-05-30 08:32:00 +00:00
Visual mode: fixed a crash while changing 3d floor texture offsets when visual sector was not created for 3d floor's control sector.
Visual mode: Info/Warning/Error status messages were not displayed properly when nothing was selected. Sector Edit form, UDMF: Reset and Link buttons were overlapped in Floor/Ceiling scale controls.
This commit is contained in:
parent
ca49587ed1
commit
e0b7af81a4
5 changed files with 16 additions and 26 deletions
|
@ -378,6 +378,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
protected override VisualSector CreateVisualSector(Sector s)
|
||||
{
|
||||
BaseVisualSector vs = new BaseVisualSector(this, s);
|
||||
if (vs != null) allsectors.Add(s, vs); //mxd
|
||||
return vs;
|
||||
}
|
||||
|
||||
|
@ -501,11 +502,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
//mxd
|
||||
protected override void moveSelectedThings(Vector2D direction, bool absolutePosition) {
|
||||
List<VisualThing> visualThings = GetSelectedVisualThings(true);
|
||||
|
||||
if (visualThings.Count == 0) {
|
||||
General.Interface.DisplayStatus(StatusType.Warning, "Select some Things first!");
|
||||
return;
|
||||
}
|
||||
if (visualThings.Count == 0) return;
|
||||
|
||||
PreAction(UndoGroup.ThingMove);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue