don't delete autogen steps; they're created and deleted by Song
This commit is contained in:
@@ -1077,6 +1077,8 @@ void Song::AddSteps( Steps* pSteps )
|
||||
|
||||
void Song::DeleteSteps( const Steps* pSteps, bool bReAutoGen )
|
||||
{
|
||||
ASSERT( !pSteps->IsAutogen() );
|
||||
|
||||
// Avoid any stale Note::parent pointers by removing all AutoGen'd Steps,
|
||||
// then adding them again.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user