Local adjustments - fixed issue #5974 Blur in inverse and issue #5980 Excluding spot - enable spot (#5981)
* Change behavior exposure with small values Laplacian * Soved issue 5974 with GUI * Fixed bad behavior excludind spot - enable spot
This commit is contained in:
@@ -6924,6 +6924,19 @@ void LocallabBlur::blMethodChanged()
|
||||
{
|
||||
// Update Blur & Noise GUI according to blMethod combobox state
|
||||
updateBlurGUI();
|
||||
const LocallabParams::LocallabSpot defSpot;
|
||||
|
||||
if (invbl->get_active() && blMethod->get_active_row_number() == 2) {
|
||||
radius->setValue(defSpot.radius);
|
||||
medMethod->set_active(0);
|
||||
} else if(invbl->get_active() && blMethod->get_active_row_number() == 0) {
|
||||
guidbl->setValue(defSpot.guidbl);
|
||||
medMethod->set_active(0);
|
||||
} else if(invbl->get_active() && blMethod->get_active_row_number() == 1) {
|
||||
radius->setValue(defSpot.radius);
|
||||
guidbl->setValue(defSpot.guidbl);
|
||||
}
|
||||
|
||||
|
||||
if (isLocActivated && exp->getEnabled()) {
|
||||
if (listener) {
|
||||
@@ -6950,6 +6963,21 @@ void LocallabBlur::fftwblChanged()
|
||||
|
||||
void LocallabBlur::invblChanged()
|
||||
{
|
||||
const LocallabParams::LocallabSpot defSpot;
|
||||
|
||||
if (invbl->get_active() && blMethod->get_active_row_number() == 2) {
|
||||
radius->setValue(defSpot.radius);
|
||||
medMethod->set_active(0);
|
||||
} else if(invbl->get_active() && blMethod->get_active_row_number() == 0) {
|
||||
guidbl->setValue(defSpot.guidbl);
|
||||
medMethod->set_active(0);
|
||||
} else if(invbl->get_active() && blMethod->get_active_row_number() == 1) {
|
||||
radius->setValue(defSpot.radius);
|
||||
guidbl->setValue(defSpot.guidbl);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (isLocActivated && exp->getEnabled()) {
|
||||
if (listener) {
|
||||
if (invbl->get_active()) {
|
||||
@@ -7076,6 +7104,20 @@ void LocallabBlur::toolblChanged()
|
||||
|
||||
void LocallabBlur::updateBlurGUI()
|
||||
{
|
||||
const LocallabParams::LocallabSpot defSpot;
|
||||
|
||||
if (invbl->get_active() && blMethod->get_active_row_number() == 2) {
|
||||
radius->setValue(defSpot.radius);
|
||||
medMethod->set_active(0);
|
||||
} else if(invbl->get_active() && blMethod->get_active_row_number() == 0) {
|
||||
guidbl->setValue(defSpot.guidbl);
|
||||
medMethod->set_active(0);
|
||||
} else if(invbl->get_active() && blMethod->get_active_row_number() == 1) {
|
||||
radius->setValue(defSpot.radius);
|
||||
guidbl->setValue(defSpot.guidbl);
|
||||
}
|
||||
|
||||
|
||||
const int mode = complexity->get_active_row_number();
|
||||
|
||||
if (blMethod->get_active_row_number() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user