mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00:35 +05:00
22752: [EDF] Provide explicit feedback on what has been done by Shape Processing operation
Cut off "Unknown message invoked with the keyword " at the message beginning
This commit is contained in:
parent
2b119a6f37
commit
c85f63b521
@ -655,6 +655,13 @@ GEOM::ModifStatistics* GEOM_IHealingOperations_i::GetStatistics()
|
||||
{
|
||||
statsVar[ i ].name = modif->myModif.c_str();
|
||||
statsVar[ i ].count = modif->myCount;
|
||||
|
||||
// Cut off "Unknown message invoked with the keyword " at the beginning
|
||||
const char* toRm = "Unknown message invoked with the keyword ";
|
||||
const size_t lenToRm = strlen( toRm );
|
||||
if ( modif->myModif.size() > lenToRm &&
|
||||
modif->myModif.compare( 0, lenToRm, toRm ) == 0 )
|
||||
statsVar[ i ].name = modif->myModif.substr( lenToRm ).c_str();
|
||||
}
|
||||
|
||||
return statsVar._retn();
|
||||
|
Loading…
Reference in New Issue
Block a user