Sketcher: Fix 529853 Variable copied when it could be moved

This commit is contained in:
Benjamin Nauck
2025-04-14 08:01:07 +02:00
parent be264928fc
commit 70d11e33dc
2 changed files with 2 additions and 2 deletions

View File

@@ -1353,7 +1353,7 @@ int SketchObject::diagnoseAdditionalConstraints(
return lastDoF;
}
int SketchObject::moveGeometries(std::vector<GeoElementId> geoEltIds, const Base::Vector3d& toPoint, bool relative,
int SketchObject::moveGeometries(const std::vector<GeoElementId>& geoEltIds, const Base::Vector3d& toPoint, bool relative,
bool updateGeoBeforeMoving)
{

View File

@@ -354,7 +354,7 @@ public:
/// toggle the driving status of this constraint
int toggleVirtualSpace(int ConstrId);
/// move this point to a new location and solve
int moveGeometries(std::vector<GeoElementId> geoEltIds,
int moveGeometries(const std::vector<GeoElementId>& geoEltIds,
const Base::Vector3d& toPoint,
bool relative = false,
bool updateGeoBeforeMoving = false);