Skip to main content
johnrellis
Genius
April 11, 2025

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

  • April 11, 2025
  • 3 replies
  • 625 views

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
Genius
June 18, 2025

I confirmed the fix, thanks.

Rikk Flohr_Photography
Community Manager
Community Manager
June 17, 2025

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.

Rikk Flohr: Adobe Photography Org
Rikk Flohr_Photography
Community Manager
Community Manager
April 11, 2025

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

Rikk Flohr: Adobe Photography Org