Skip to content

Commit b16076a

Browse files
committed
Disable setListener
1 parent c244397 commit b16076a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

rtengine/improccoordinator.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,8 +1649,10 @@ void ImProcCoordinator::updatePreviewImage(int todo, bool panningRelatedChange)
16491649
locallListener->refChanged2(huerefp, chromarefp, lumarefp, fabrefp, params->locallab.selspot);
16501650
locallListener->minmaxChanged(locallretiminmax, params->locallab.selspot);
16511651
locallListener->maxcam(maxicamp, autocam, params->locallab.selspot);
1652-
locallListener->primlocChanged(redxloc[sp], redyloc[sp], grexloc[sp], greyloc[sp], bluxloc[sp], bluyloc[sp]);
1653-
locallListener->iprimlocChanged(redxloc[sp], redyloc[sp], grexloc[sp], greyloc[sp], bluxloc[sp], bluyloc[sp], wxloc[sp], wyloc[sp]);
1652+
if (params->locallab.spots.at(sp).trccie) {
1653+
locallListener->primlocChanged(redxloc[sp], redyloc[sp], grexloc[sp], greyloc[sp], bluxloc[sp], bluyloc[sp]);
1654+
locallListener->iprimlocChanged(redxloc[sp], redyloc[sp], grexloc[sp], greyloc[sp], bluxloc[sp], bluyloc[sp], wxloc[sp], wyloc[sp]);
1655+
}
16541656
}
16551657
}
16561658

rtgui/locallabtools2.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8495,7 +8495,7 @@ void Locallabcie::setListener(ToolPanelListener* tpl)
84958495
{
84968496
LocallabTool::setListener(tpl);
84978497

8498-
labgridcie->setListener(tpl);
8498+
// labgridcie->setListener(tpl);
84998499
}
85008500

85018501

@@ -9478,7 +9478,7 @@ void Locallabcie::updateiPrimloc (const float r_x, const float r_y, const float
94789478
idle_register.add(
94799479
[this, r_x, r_y, g_x, g_y, b_x, b_y]() -> bool
94809480
{
9481-
GThreadLock lock;
9481+
// GThreadLock lock;
94829482
disableListener();
94839483
/*
94849484
redxl->setValue(r_x);

0 commit comments

Comments
 (0)