Content Pipeline:
- Fixed a Bug in FontDescriptionImporter - Removed Debugger.Break() in XmlImporter
This commit is contained in:
parent
0d3593c223
commit
c316436f32
@ -125,7 +125,7 @@ namespace ANX.Framework.Content.Pipeline.Importer
|
|||||||
startElement.Value + " - " + endElement.Value);
|
startElement.Value + " - " + endElement.Value);
|
||||||
}
|
}
|
||||||
//add each char from the range to the list
|
//add each char from the range to the list
|
||||||
for (var i = startChar; i < endChar - 1; i++)
|
for (var i = startChar; i < endChar; i++)
|
||||||
{
|
{
|
||||||
characters.Add(Convert.ToChar(i));
|
characters.Add(Convert.ToChar(i));
|
||||||
}
|
}
|
||||||
@ -136,7 +136,8 @@ namespace ANX.Framework.Content.Pipeline.Importer
|
|||||||
_logger.LogMessage("Import of SpriteFont finished.");
|
_logger.LogMessage("Import of SpriteFont finished.");
|
||||||
var result = new FontDescription(fontName, fontSize, fontSpacing, fontStyle)
|
var result = new FontDescription(fontName, fontSize, fontSpacing, fontStyle)
|
||||||
{
|
{
|
||||||
Characters = characters
|
Characters = characters/*,
|
||||||
|
DefaultCharacter = '*'*/ //Currently disabled because the ContentLoader does not like this (Bad XNB)
|
||||||
};
|
};
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
@ -85,7 +85,7 @@ namespace ANX.Framework.Content.Pipeline.Importer
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Debugger.Break(); //Go and check whats wrong
|
//Debugger.Break(); //Go and check whats wrong
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Type t = Type.GetType(typeString);
|
Type t = Type.GetType(typeString);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user