hor/ver tool, remove unused variables

This commit is contained in:
Paddle
2023-11-26 08:25:03 +01:00
committed by wwmayer
parent b9899b2dd8
commit 5a4a358f13

View File

@@ -2681,7 +2681,6 @@ void horVerActivated(CmdSketcherConstraint* cmd, std::string type)
// get the needed lists and objects
const std::vector<std::string>& SubNames = selection[0].getSubNames();
auto* Obj = static_cast<Sketcher::SketchObject*>(selection[0].getObject());
const std::vector<Sketcher::Constraint*>& vals = Obj->Constraints.getValues();
std::vector<int> edgegeoids;
std::vector<int> pointgeoids;
@@ -2800,9 +2799,6 @@ void horVerApplyConstraint(CmdSketcherConstraint* cmd, std::string type, std::ve
switch (seqIndex) {
case 0:// {Edge}
{
// create the constraint
const std::vector<Sketcher::Constraint*>& vals = Obj->Constraints.getValues();
int CrvId = selSeq.front().GeoId;
if (CrvId != -1) {
const Part::Geometry* geo = Obj->getGeometry(CrvId);