mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
IPAL54097: SIGSEGV in Scalar Bar Properties dialog and crash in next operation
This commit is contained in:
parent
f6b5d2f920
commit
262400931d
@ -588,7 +588,8 @@ int SMESH_ScalarBarActor::RenderOpaqueGeometry(vtkViewport *viewport)
|
||||
// Customization of the vtkScalarBarActor to show distribution histogram.
|
||||
if ( myDistributionColoringType == SMESH_MULTICOLOR_TYPE &&
|
||||
GetDistributionVisibility() &&
|
||||
distrVisibility )
|
||||
distrVisibility &&
|
||||
myNbValues[i] > 0 )
|
||||
{
|
||||
rgb = distColors->GetPointer(3*dcCount); //write into array directly
|
||||
rgb[0] = rgba[0];
|
||||
|
Loading…
Reference in New Issue
Block a user