Skip to content

Commit d7ee978

Browse files
PaddleStrokechennes
authored andcommitted
Sketcher: Fix sketcher_Copy bug when a single geometry was copied, geoId was not correct in constraints.
1 parent 98712d2 commit d7ee978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mod/Sketcher/App/PythonConverter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ std::string PythonConverter::convert(const std::string& doc,
169169
GeoIdMode geoIdMode)
170170
{
171171
if (constraints.size() == 1) {
172-
auto cg = convert(constraints[0]);
172+
auto cg = convert(constraints[0], geoIdMode);
173173

174174
return boost::str(boost::format("%s.%s\n") % doc % cg);
175175
}

0 commit comments

Comments
 (0)