mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Regression: "Unknown" scalar bar title
This commit is contained in:
parent
0f0bf7c728
commit
aae848792f
@ -1653,8 +1653,8 @@ namespace
|
||||
SMESH::SMESH_IDSource_var anIDSrc = SMESH::SMESH_IDSource::_narrow( aObject );
|
||||
if ( !anIDSrc->_is_nil() ) {
|
||||
if ( SMESH_Actor *anActor = SMESH::FindActorByEntry( anIO->getEntry()) ) {
|
||||
QString functorName = functorToString( anActor->GetFunctor() );
|
||||
anActor->SetControlMode( aControl );
|
||||
QString functorName = functorToString( anActor->GetFunctor() );
|
||||
anActor->GetScalarBarActor()->SetTitle( functorName.toLatin1().constData() );
|
||||
SMESH::RepaintCurrentView();
|
||||
#ifndef DISABLE_PLOT2DVIEWER
|
||||
|
Loading…
Reference in New Issue
Block a user