Skip to main content
johnrellis
Legend
Apr 11, 2025 1:35 AM UTC
Released

P: SDK: LrDevelopController.getSelectedTool() doesn't return "local_point_color"

LrDevelopController.getSelectedTool() returns "masking" rather than the documented "local_point_color" when masking Point Color's eyedropper is selected.

 

To reproduce in LR 14.2 / Mac:

 

1. Place these lines in the file "getselectedtool.lua" in the Scripts folder:

import "LrDialogs".message (
    import "LrDevelopController".getSelectedTool ())

 

2. Restart LR.

 

3. Open a photo in Develop.

 

4. Add a linear gradient mask.

 

5. Select the eyedropper in the masking Point Color subpanel.

 

6. Do the menu command Scripts > getselectedtool.

 

7. Observe the message dialog says "masking" (incorrect) rather than the documented "local_point_color" (correct):

 

Note that the SDK documentation indicates "local_point_color" should be returned:

 

 

 

3 replies

johnrellis
Legend
Jun 18, 2025 4:19 PM UTC

I confirmed the fix, thanks.

Translate
Rikk Flohr-Retired
Adobe Employee
Jun 17, 2025 1:00 PM UTC

Greetings all, 

 

A new update for the Adobe Photography products has been released.  The June update contains an update for this issue. 

If you do not see the update in your Creative Cloud Application, you can refresh it by hitting [Ctrl/Cmd]+[Alt/Opt]+[ R ].

Note: It may take up to 24 hours for your update to be available in your Creative Cloud app.

 

Thank you for being so patient.

Translate
Rikk Flohr: Adobe Photography Org
Rikk Flohr-Retired
Adobe Employee
Apr 11, 2025 3:05 PM UTC

Thanks @johnrellis  I've logged this with the team.

Translate
Rikk Flohr: Adobe Photography Org