fix "iNewNumTracks > 0" assertion failure when uninitialized m_EditMode happens to be 1
This commit is contained in:
@@ -522,6 +522,7 @@ void ScreenEdit::Init()
|
|||||||
|
|
||||||
g_iShiftAnchor = -1;
|
g_iShiftAnchor = -1;
|
||||||
|
|
||||||
|
m_EditMode = MODE_INVALID;
|
||||||
TransitionEditMode( MODE_EDITING );
|
TransitionEditMode( MODE_EDITING );
|
||||||
|
|
||||||
this->AddChild( &m_Background );
|
this->AddChild( &m_Background );
|
||||||
|
|||||||
Reference in New Issue
Block a user