mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-02-11 02:00:55 +00:00
Fixed a crash when undoing/redoing while in Things Mode
This commit is contained in:
parent
87c30c0bf8
commit
9191c30126
1 changed files with 0 additions and 2 deletions
|
@ -596,7 +596,6 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
if (BuilderPlug.Me.SelectChangedafterUndoRedo)
|
if (BuilderPlug.Me.SelectChangedafterUndoRedo)
|
||||||
{
|
{
|
||||||
General.Map.Map.SelectMarkedGeometry(true, true);
|
General.Map.Map.SelectMarkedGeometry(true, true);
|
||||||
General.Map.Map.ConvertSelection(SelectionType.Things);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateSelectionInfo(); // Update selection info and labels
|
UpdateSelectionInfo(); // Update selection info and labels
|
||||||
|
@ -613,7 +612,6 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
||||||
if (BuilderPlug.Me.SelectChangedafterUndoRedo)
|
if (BuilderPlug.Me.SelectChangedafterUndoRedo)
|
||||||
{
|
{
|
||||||
General.Map.Map.SelectMarkedGeometry(true, true);
|
General.Map.Map.SelectMarkedGeometry(true, true);
|
||||||
General.Map.Map.ConvertSelection(SelectionType.Things);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateSelectionInfo(); // Update selection info and labels
|
UpdateSelectionInfo(); // Update selection info and labels
|
||||||
|
|
Loading…
Reference in a new issue