Added options for pasting and inserting prefabs

This commit is contained in:
codeimp 2009-07-09 14:03:47 +00:00
parent efb7e4a43a
commit ee8d88c3dc
25 changed files with 1063 additions and 162 deletions

View file

@ -560,7 +560,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
editpressed = true;
// Highlighted item not selected?
if(!highlighted.Selected && BuilderPlug.Me.AutoClearSelection)
if(!highlighted.Selected && (BuilderPlug.Me.AutoClearSelection || (General.Map.Map.SelectedSectorsCount == 0)))
{
// Make this the only selection
General.Map.Map.ClearSelectedSectors();