Skip to content

Commit 78e118c

Browse files
Charles PIGNEROLmpoudot
authored andcommitted
Fix PythonWriter::scriptablesToPythonList function : removed quotes around instantiations of the Mgx3D.Point class.
1 parent ace0640 commit 78e118c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Core/protected/Internal/PythonWriter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ template <class Scriptable> std::string scriptablesToPythonList (const std::vect
113113
typename std::vector<Scriptable>::const_iterator it = objects.begin ( );
114114
if (objects.end ( ) != it)
115115
{
116-
list << "\"" << (*it).getScriptCommand ( ) << "\"";
116+
list << (*it).getScriptCommand ( );
117117
it++;
118118
}
119119
for ( ; objects.end ( ) != it; it++)
120-
list << ",\"" << (*it).getScriptCommand ( ) << "\"";
120+
list << "," << (*it).getScriptCommand ( );
121121
list << ']';
122122

123123
return list.utf8 ( );

0 commit comments

Comments
 (0)