Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Debug PAL8101: SMesh: Controls - Scalar bar properties works wrong.
[modules/smesh.git]
/
src
/
OBJECT
/
SMESH_DeviceActor.cxx
diff --git
a/src/OBJECT/SMESH_DeviceActor.cxx
b/src/OBJECT/SMESH_DeviceActor.cxx
index 28670e6bef7302f017887740615bed1380d270df..0d3347ecbb4bbf67eb115cf4ee8c49152866044d 100644
(file)
--- a/
src/OBJECT/SMESH_DeviceActor.cxx
+++ b/
src/OBJECT/SMESH_DeviceActor.cxx
@@
-284,6
+284,7
@@
void SMESH_DeviceActor::SetControlMode(SMESH::Controls::FunctorPtr theFunctor,
aScalars->Delete();
theLookupTable->SetRange(aScalars->GetRange());
aScalars->Delete();
theLookupTable->SetRange(aScalars->GetRange());
+ theLookupTable->SetNumberOfTableValues(theScalarBarActor->GetMaximumNumberOfColors());
theLookupTable->Build();
myMergeFilter->SetScalars(aDataSet);
theLookupTable->Build();
myMergeFilter->SetScalars(aDataSet);