• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

P: SDK: LR 11 photo:getDevelopSettings() doesn't return mask settings for photos from LR 10

LEGEND ,
Jan 22, 2022 Jan 22, 2022

Copy link to clipboard

Copied

In LR 11, when photo:getDevelopSettings() is invoked on a photo with a graduated filter, radial filter, or an adjustment brush that was added in LR 10, getDevelopSettings() returns neither the LR 10 nor the LR 11 representation of those masks.  It should trigger the incremental update of the develop settings and return the LR 11 representation.

 

This is an issue for users of one of my most popular plugins, Any Filter, searching for photos with masks -- photos from LR 10 and earlier won't always be returned.

 

--------------------------------------------------------------------------------------------------------------------------------

To reproduce in LR 11.1:

 

1. Start LR 10.4 and make a new catalog, setting Catalog Settings > Standard Preview Size to 1024.

 

2. Import a raw with Build Previews: Standard, edit it, and add a Graduated Filter, Radial Filter, and Adjustment brush.

 

3. Go to Library Grid view (very important).

 

4. Use the Show Catalog Metadata plugin's Show command to verify that photo:getDevelopSettings() is returning values for the graduated filter, radial filter, and adjustment brush:

 

 

CircularGradientBasedCorrections = {--table: 2
    [1] = {--table: 3
        CorrectionActive = true, 
        ...
GradientBasedCorrections = {--table: 7
    [1] = {--table: 8
        CorrectionActive = true, 
        ...
PaintBasedCorrections = {--table: 19
    [1] = {--table: 20
        CorrectionActive = true, 
        ...

 

 

5. Exit LR 10.4.

 

6. Open that catalog in LR 11.1, causing it to get upgraded.

 

7. Use Show Catalog Metadata > Show to verify that photo:getDevelopSettings() is returning neither the 10.4 representation of the masks (as shown in step 4) nor the 11 representation.

 

8. Select the photo and do Library > Previews > Discard 1:1 Previews followed by Build 1:1 Previews. If it refuses to rebuild the 1:1 preview, take the photo into Develop and go back to Library.

 

9. Verify that Show Catalog Metadata > Show is now showing the 11 representation:

 

 

MaskGroupBasedCorrections = {--table: 9
    [1] = {--table: 10
        CorrectionActive = true, 
        ...

 

 

 

Bug Fixed
TOPICS
SDK

Views

186

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jan 24, 2022 Jan 24, 2022

Setting status - attaching bug number

Status Started

Votes

Translate

Translate
4 Comments
Adobe Employee ,
Jan 24, 2022 Jan 24, 2022

Copy link to clipboard

Copied

Setting status - attaching bug number

Rikk Flohr - Customer Advocacy: Adobe Photography Products
Status Started

Votes

Translate

Translate

Report

Report
Mentor ,
Feb 14, 2022 Feb 14, 2022

Copy link to clipboard

Copied

I'd like to confirm that John is correct in his anlaysis and agree that the getDevelopSettings() api should return a LrC 11 representation of all masks. At the moment there is no confidence that masking information returned is accurate since, as John notes, getDevelopSettings() may return neither the LrC 11 representation or earlier formats.

 

I'm forced to intitiate 1:1 preview deletions followed by a build before using the masking features in my plug-in -- an anoying and time consuming process.

 

The latest 11.2 SDK has not resolved the issue.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Apr 11, 2022 Apr 11, 2022

Copy link to clipboard

Copied

Updates to the Adobe Photography Products were released today and contain a fix for this issue. Please install the update via your Creative Cloud Desktop App or your respective App Store. 

 

Note: 

You may need to refresh the Creative Cloud App for desktop software to show an update available.  ([Ctrl/Cmd]+[Alt/Opt]+ [ R ])

For Mobile downloads, it may take several days for the update to appear in your respective App Stores.

 

Thank you for your patience. 

Rikk Flohr - Customer Advocacy: Adobe Photography Products
Status Fixed

Votes

Translate

Translate

Report

Report
LEGEND ,
Apr 12, 2022 Apr 12, 2022

Copy link to clipboard

Copied

LATEST

I confirmed this is fixed, thanks.

Votes

Translate

Translate

Report

Report