Sector, Linedef, Thing Edit forms: when several map elements are selected, you can set a tag range by entering "++N" or "--N" as a tag.

This commit is contained in:
MaxED 2014-08-05 11:03:55 +00:00
parent 566ff2855e
commit bed613694d
9 changed files with 88 additions and 50 deletions

View file

@ -224,12 +224,13 @@ namespace CodeImp.DoomBuilder.Windows
}
// Go for all sectors
int tagoffset = 0; //mxd
foreach(Sector s in sectors) {
// Effects
if(!effect.Empty) s.Effect = effect.Value;
// Action
s.Tag = tagSelector.GetTag(s.Tag); //mxd
s.Tag = General.Clamp(tagSelector.GetTag(s.Tag, tagoffset++), General.Map.FormatInterface.MinTag, General.Map.FormatInterface.MaxTag); //mxd
}
// Done