mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Fixed, Thing/Linedef edit forms: fixed a crash during form setup when Action was either unknown or generalized.
Fixed, ANIMDEFS parser: in some cases the parser was unable to read camera texture name.
This commit is contained in:
parent
4c794ad028
commit
0998da458a
2 changed files with 5 additions and 3 deletions
|
@ -217,10 +217,11 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
{
|
||||
list.SelectedIndex = itemindex;
|
||||
list.Refresh();
|
||||
|
||||
// Raise change event
|
||||
if(ValueChanges != null) ValueChanges(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
// Raise change event
|
||||
//mxd. This HAS to be raised during Edit form setup, otherwise TypeHandlers in ArgumentBoxes won't be initialized
|
||||
if(ValueChanges != null) ValueChanges(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
// Keys pressed in number box
|
||||
|
|
|
@ -56,6 +56,7 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
if(string.IsNullOrEmpty(token) || string.Compare(token, "CAMERATEXTURE", true) != 0) continue;
|
||||
|
||||
// Texture name
|
||||
SkipWhitespace(true);
|
||||
string texturename = StripTokenQuotes(ReadToken(false));
|
||||
if(string.IsNullOrEmpty(texturename))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue