Changed, Select Similar Sectors action: when "Effect" option is enabled, all sectors with at least one matching generalized/predefined effect will be selected.

Added, Tag Explorer plugin: a separate category for each generalized/predefined effect is now created when "Sort by action special" sort mode is used.
Added, Edit Effect window: normal and generalized effects can now be set at the same time.
Fixed, Edit Action window: in some cases Generalized actions were incorrectly processed.
Fixed, Edit Effect window: in some cases Generalized effects were incorrectly processed.
Fixed, Select Similar window: Tab control was incorrectly anchored.
Fixed, Nodes Viewer mode, cosmetic: segs angles were calculated incorrectly when showing nodes in classic format.
Fixed: HiRes textures, which didn't override any texture or flat were not loaded. 
Fixed, Tag Explorer plugin: linedef action categories were missing title when "Sort by action special" sort mode was used.
Cosmetic: renamed "Grid Setup" action to "Grid and Backdrop Setup".
This commit is contained in:
MaxED 2016-03-21 15:19:14 +00:00
parent dd26c3ded2
commit 0e78e6d39f
17 changed files with 451 additions and 255 deletions

View file

@ -243,8 +243,7 @@ namespace CodeImp.DoomBuilder.Data
List<HiResImage> result = new List<HiResImage>(files.Length);
foreach(string f in files)
{
string name = Path.GetFileNameWithoutExtension(f);
if(string.IsNullOrEmpty(name))
if(string.IsNullOrEmpty(Path.GetFileNameWithoutExtension(f)))
{
// Can't load image without name
General.ErrorLogger.Add(ErrorType.Error, "Can't load an unnamed HiRes texture from \"" + HIRES_DIR + "\". Please consider giving names to your resources.");
@ -252,7 +251,7 @@ namespace CodeImp.DoomBuilder.Data
else
{
// Add image to list
result.Add(new HiResImage(name));
result.Add(new HiResImage(f));
}
}