mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
- TCollection_AsciiString oldScript (oldValue.out());
+ TCollection_AsciiString oldScript (oldValue.in());
This commit is contained in:
parent
5ee5ad7e03
commit
338eab651c
@ -696,7 +696,7 @@ void SMESH_Gen_i::SavePython (SALOMEDS::Study_ptr theStudy)
|
|||||||
SALOMEDS::AttributePythonObject_var pyAttr =
|
SALOMEDS::AttributePythonObject_var pyAttr =
|
||||||
SALOMEDS::AttributePythonObject::_narrow(anAttr);
|
SALOMEDS::AttributePythonObject::_narrow(anAttr);
|
||||||
CORBA::String_var oldValue = pyAttr->GetObject();
|
CORBA::String_var oldValue = pyAttr->GetObject();
|
||||||
TCollection_AsciiString oldScript (oldValue.out());
|
TCollection_AsciiString oldScript (oldValue.in());
|
||||||
|
|
||||||
if (oldScript.Length() > 0) {
|
if (oldScript.Length() > 0) {
|
||||||
oldScript += "\n";
|
oldScript += "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user