NPAL19656: EDF709: Dump file with ExtrusionAlongPath does not work.

This commit is contained in:
jfa 2008-04-29 11:03:08 +00:00
parent 688f84c387
commit b81d800721

View File

@ -17,7 +17,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// //
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
// //
// //
// //
@ -891,7 +891,6 @@ void _pyMeshEditor::Process( const Handle(_pyCommand)& theCommand)
"" }; // <- mark of the end "" }; // <- mark of the end
sameMethods.Insert( names ); sameMethods.Insert( names );
} }
//theGen->AddMeshAccessorMethod( theCommand ); // for *Object()
if ( sameMethods.Contains( theCommand->GetMethod() )) { if ( sameMethods.Contains( theCommand->GetMethod() )) {
theCommand->SetObject( myMesh ); theCommand->SetObject( myMesh );
@ -903,6 +902,7 @@ void _pyMeshEditor::Process( const Handle(_pyCommand)& theCommand)
} }
else { else {
// editor creation command is needed only if any editor function is called // editor creation command is needed only if any editor function is called
theGen->AddMeshAccessorMethod( theCommand ); // for *Object()
if ( !myCreationCmdStr.IsEmpty() ) { if ( !myCreationCmdStr.IsEmpty() ) {
GetCreationCmd()->GetString() = myCreationCmdStr; GetCreationCmd()->GetString() = myCreationCmdStr;
myCreationCmdStr.Clear(); myCreationCmdStr.Clear();