Fix for "16960 EDF 19475 - Control Free nodes" issue

This commit is contained in:
rnv 2019-05-17 11:49:10 +03:00
parent b8a546c91f
commit 7b4bb082fa

View File

@ -1750,7 +1750,7 @@ namespace
int anEntitiesCount = anActor->GetNumberControlEntities(); int anEntitiesCount = anActor->GetNumberControlEntities();
if (anEntitiesCount >= 0) if (anEntitiesCount >= 0)
functorName = functorName + ": " + QString::number(anEntitiesCount); functorName = functorName + ": " + QString::number(anEntitiesCount);
anActor->GetScalarBarActor()->SetTitle( functorName.toLatin1().constData() ); anActor->GetScalarBarActor()->SetTitle( functorName.toUtf8().constData() );
SMESH::RepaintCurrentView(); SMESH::RepaintCurrentView();
#ifndef DISABLE_PLOT2DVIEWER #ifndef DISABLE_PLOT2DVIEWER
if ( anActor->GetPlot2Histogram() ) { if ( anActor->GetPlot2Histogram() ) {