Fixed double features re-extraction when both detector and descriptor types are changed at the same time.
This commit is contained in:
parent
ccb679e7c2
commit
9cc9868820
@ -580,7 +580,10 @@ void ParametersToolBox::changeParameter(const int & value)
|
|||||||
UASSERT(tmp.size() == 2);
|
UASSERT(tmp.size() == 2);
|
||||||
QString newTmp = QString('0'+index)+":"+tmp.back();
|
QString newTmp = QString('0'+index)+":"+tmp.back();
|
||||||
Settings::setFeature2D_2Descriptor(newTmp);
|
Settings::setFeature2D_2Descriptor(newTmp);
|
||||||
|
descriptorBox->blockSignals(true);
|
||||||
this->updateParameter(Settings::kFeature2D_2Descriptor());
|
this->updateParameter(Settings::kFeature2D_2Descriptor());
|
||||||
|
descriptorBox->blockSignals(false);
|
||||||
|
paramChanged.append(Settings::kFeature2D_2Descriptor());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user