don't delete autogen steps; they're created and deleted by Song

This commit is contained in:
Glenn Maynard
2006-11-12 04:19:51 +00:00
parent e32d59ad30
commit 05bfda3f4b
+2
View File
@@ -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.