mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-06 04:44:18 +05:00
bug 11843. Fix python command for SetExpressionFunction()
This commit is contained in:
parent
cf684038a4
commit
8e40a6015e
@ -308,7 +308,7 @@ void StdMeshers_NumberOfSegments_i::SetExpressionFunction(const char* expr)
|
|||||||
try {
|
try {
|
||||||
this->GetImpl()->SetExpressionFunction( expr );
|
this->GetImpl()->SetExpressionFunction( expr );
|
||||||
// Update Python script
|
// Update Python script
|
||||||
SMESH::TPythonDump() << _this() << ".SetExpressionFunction( " << expr << " )";
|
SMESH::TPythonDump() << _this() << ".SetExpressionFunction( '" << expr << "' )";
|
||||||
}
|
}
|
||||||
catch ( SALOME_Exception& S_ex ) {
|
catch ( SALOME_Exception& S_ex ) {
|
||||||
THROW_SALOME_CORBA_EXCEPTION( S_ex.what(),
|
THROW_SALOME_CORBA_EXCEPTION( S_ex.what(),
|
||||||
|
Loading…
Reference in New Issue
Block a user