mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-14 20:31:53 -05:00
Scopevis NG: prevent invalid index
This commit is contained in:
parent
c827879613
commit
2dbb0b3253
@ -794,6 +794,10 @@ void ScopeVisNG::updateMaxTraceDelay()
|
|||||||
maxTraceDelay = itData->m_traceDelay;
|
maxTraceDelay = itData->m_traceDelay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (itData->m_projectionType < 0) {
|
||||||
|
itData->m_projectionType = ProjectionReal;
|
||||||
|
}
|
||||||
|
|
||||||
if (projectorCounts[(int) itData->m_projectionType] > 0)
|
if (projectorCounts[(int) itData->m_projectionType] > 0)
|
||||||
{
|
{
|
||||||
allocateCache = true;
|
allocateCache = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user