[NoteField] Fix 3D noteskins overlapping. [shakesoda, AJ] let me know how this works for you guys -freem

This commit is contained in:
AJ Kelly
2012-03-20 00:19:28 -05:00
parent 9174f07dae
commit 660eeaae9c
2 changed files with 6 additions and 3 deletions
+1
View File
@@ -12,6 +12,7 @@ StepMania 5.0 alpha 2 | 201203??
2012/03/20
----------
* [Background] Fix 3D noteskins and dancing characters from clashing with each other. [shakesoda, AJ]
* [NoteField] Fix 3D noteskins overlapping. [shakesoda, AJ]
2012/03/15
----------
+3 -1
View File
@@ -19,6 +19,7 @@
#include "BackgroundUtil.h"
#include "Course.h"
#include "NoteData.h"
#include "RageDisplay.h"
float FindFirstDisplayedBeat( const PlayerState* pPlayerState, int iDrawDistanceAfterTargetsPixels );
float FindLastDisplayedBeat( const PlayerState* pPlayerState, int iDrawDistanceBeforeTargetsPixels );
@@ -1294,7 +1295,6 @@ void NoteField::DrawPrimitives()
if( tn.result.bHidden )
continue;
// TRICKY: If boomerang is on, then all notes in the range
// [iFirstRowToDraw,iLastRowToDraw] aren't necessarily visible.
// Test every note to make sure it's on screen before drawing.
@@ -1353,6 +1353,8 @@ void NoteField::DrawPrimitives()
bool bNoteIsUpcoming = NoteRowToBeat(q) > m_pPlayerState->GetDisplayedPosition().m_fSongBeat;
bAnyUpcomingInThisCol |= bNoteIsUpcoming;
DISPLAY->ClearZBuffer();
}
cur->m_ReceptorArrowRow.SetNoteUpcoming( c, bAnyUpcomingInThisCol );