mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0030240: Visualization, OpenGl_FrameStatsPrs - chart cannot be erased
This commit is contained in:
parent
c3749171b7
commit
dc2749cfbd
@ -143,6 +143,9 @@ void OpenGl_FrameStatsPrs::updateChart (const Handle(OpenGl_Workspace)& theWorks
|
|||||||
const Standard_Integer aNbBins = aStats->DataFrames().Size();
|
const Standard_Integer aNbBins = aStats->DataFrames().Size();
|
||||||
if (aNbBins <= 1)
|
if (aNbBins <= 1)
|
||||||
{
|
{
|
||||||
|
myChartIndices ->Release (aCtx.get());
|
||||||
|
myChartVertices->Release (aCtx.get());
|
||||||
|
myChartLines ->Release (aCtx.get());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user