mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 13:51:40 +00:00
Fixed a crash when undoing/redoing while in Things Mode
This commit is contained in:
parent
a0971e0ef2
commit
7448e0fb05
1 changed files with 0 additions and 2 deletions
|
@ -588,7 +588,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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If something is highlighted make sure to update the association so that it contains valid data
|
// If something is highlighted make sure to update the association so that it contains valid data
|
||||||
|
@ -609,7 +608,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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If something is highlighted make sure to update the association so that it contains valid data
|
// If something is highlighted make sure to update the association so that it contains valid data
|
||||||
|
|
Loading…
Reference in a new issue