Fixed "Create from AutoGen" function in ScreenEditMenu.
This commit is contained in:
@@ -269,14 +269,7 @@ void Notes::BakeAutoGen()
|
||||
{
|
||||
NoteData noteData;
|
||||
parent->GetNoteData( ¬eData );
|
||||
this->SetNoteData( ¬eData );
|
||||
this->SetDescription( "AutoGen'd from "+parent->GetDescription() );
|
||||
this->SetDifficulty( parent->GetDifficulty() );
|
||||
this->SetMeter( parent->GetMeter() );
|
||||
|
||||
const float* radarValues = parent->GetRadarValues();
|
||||
for( int r=0; r<NUM_RADAR_CATEGORIES; r++ )
|
||||
this->SetRadarValue( (RadarCategory)r, radarValues[r] );
|
||||
this->SetNoteData( ¬eData ); // this will call DeAutoGen
|
||||
|
||||
parent = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user