improved editor playback performance by not drawing unncessary Actors
fixed crash in Big transform fixed ugly area highlight alignment
This commit is contained in:
@@ -89,3 +89,13 @@ bool StyleDef::MatchesNotesType( NotesType type ) const
|
||||
return false;
|
||||
}
|
||||
|
||||
void StyleDef::GetMinAndMaxColX( PlayerNumber pn, float& fMixXOut, float& fMaxXOut ) const
|
||||
{
|
||||
fMixXOut = +100000;
|
||||
fMaxXOut = -100000;
|
||||
for( int i=0; i<m_iColsPerPlayer; i++ )
|
||||
{
|
||||
fMixXOut = min( fMixXOut, m_ColumnInfo[pn][i].fXOffset );
|
||||
fMaxXOut = max( fMaxXOut, m_ColumnInfo[pn][i].fXOffset );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user