From 524a3dd18d6ce48b75d49ea8a24c9d53c7ada8df Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 7 Jun 2005 09:45:27 +0000 Subject: [PATCH] show "(empty)" for BGChanges with no attributes set so that the user can see them to delete them --- stepmania/src/NoteField.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/NoteField.cpp b/stepmania/src/NoteField.cpp index 2b449993e9..ce401f1387 100644 --- a/stepmania/src/NoteField.cpp +++ b/stepmania/src/NoteField.cpp @@ -585,6 +585,9 @@ void NoteField::DrawPrimitives() if( !change.m_def.m_sEffect.empty() ) vsParts.push_back( change.m_def.m_sEffect ); if( !change.m_def.m_sColor1.empty() ) vsParts.push_back( change.m_def.m_sColor1 ); if( !change.m_def.m_sColor2.empty() ) vsParts.push_back( change.m_def.m_sColor2 ); + + if( vsParts.empty() ) + vsParts.push_back( "(empty)" ); vsBGChanges.push_back( join("\n",vsParts) ); }