]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #469: correct indent BR_hydro_v1_0_2
authorasl <asl@opencascade.com>
Tue, 23 Sep 2014 08:38:31 +0000 (08:38 +0000)
committerasl <asl@opencascade.com>
Tue, 23 Sep 2014 08:38:31 +0000 (08:38 +0000)
src/HYDROData/HYDROData_Document.cxx

index 86d16b089d2686eb1e724daf1a5b521cef3e8d19..5f95e02b3a6736a697daf18e2dccf05db5bb6426 100644 (file)
@@ -205,6 +205,8 @@ bool HYDROData_Document::DumpToPython( const QString& theFileName,
   // Dump the local CS data to Python 
   UpdateLCSFields();
   QString aLCS = QString( "%1.SetLocalCS( %2, %3 )" ).arg( GetDocPyName() ).arg( myLX ).arg( myLY );
+  if( theIsMultiFile )
+    aLCS.prepend( "  " );
   HYDROData_Tool::WriteStringsToFile( aFile, QStringList() << aLCS );
 
   // Dump all model objects to Python script