Sketcher: Fix sketcher_Copy bug when a single geometry was copied, geoId was not correct in constraints.

This commit is contained in:
PaddleStroke
2024-01-30 16:46:28 +01:00
committed by Chris Hennes
parent c94186b88d
commit 30bea2dd8e

View File

@@ -169,7 +169,7 @@ std::string PythonConverter::convert(const std::string& doc,
GeoIdMode geoIdMode)
{
if (constraints.size() == 1) {
auto cg = convert(constraints[0]);
auto cg = convert(constraints[0], geoIdMode);
return boost::str(boost::format("%s.%s\n") % doc % cg);
}