Sketcher: Fix 529853 Variable copied when it could be moved
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user