Skip to content

Commit f9a019f

Browse files
committed
Revert "Fix bug on generated python command"
This reverts commit 85a716d.
1 parent 398e929 commit f9a019f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Core/Topo/TopoManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2603,7 +2603,7 @@ Mgx3D::Internal::M3DCommandResult* TopoManager::splitFaces(std::vector<Topo::CoF
26032603

26042604
// trace dans le script
26052605
TkUtil::UTF8String cmd (TkUtil::Charset::UTF_8);
2606-
cmd << getContextAlias ( ) << ".getTopoManager().splitFaces (" << Internal::entitiesToPythonList<CoFace> (cofaces) << ", \"";
2606+
cmd << getContextAlias ( ) << ".getTopoManager().splitFaces (" << Internal::entitiesToPythonList<CoFace> (cofaces) << ", ";
26072607
cmd << arete->getName() <<"\", "<<Utils::Math::MgxNumeric::userRepresentation (ratio_dec)<<", "<<Utils::Math::MgxNumeric::userRepresentation (ratio_ogrid)<<")";
26082608
command->setScriptCommand(cmd);
26092609

@@ -2641,7 +2641,7 @@ Mgx3D::Internal::M3DCommandResult* TopoManager::splitFaces(std::vector<Topo::CoF
26412641

26422642
// trace dans le script
26432643
TkUtil::UTF8String cmd (TkUtil::Charset::UTF_8);
2644-
cmd << getContextAlias ( ) << ".getTopoManager().splitFaces (" << Internal::entitiesToPythonList<CoFace> (cofaces) << ", \"";
2644+
cmd << getContextAlias ( ) << ".getTopoManager().splitFaces (" << Internal::entitiesToPythonList<CoFace> (cofaces) << ", ";
26452645
cmd << arete->getName() <<"\", "<<pt.getScriptCommand()<<", "<<Utils::Math::MgxNumeric::userRepresentation (ratio_ogrid)<<")";
26462646
command->setScriptCommand(cmd);
26472647

0 commit comments

Comments
 (0)