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

P: SDK: photo:applyDevelopSettings() can't apply a rectangular-selection Object mask

LEGEND ,
Nov 30, 2022 Nov 30, 2022

Copy link to clipboard

Copied

photo:applyDevelopSettings() can't apply a rectangular-selection Object mask, though it can apply a brush-selection Object mask. This prevents my Copy Settings plugin from correctly copying rectangular Object masks.

 

Tested in LR 12.0.1 / Mac OS 12.6.1.

 

To reproduce the bug:

 

1. Download the attached "object-bug.lua.txt", rename it to "object-bug.lua", and place it in the Scripts subfolder of the Lightroom settings folder. Restart LR.

 

2. Import the attached photo "a.jpg".

 

3. Import the attached preset Object Mask.xmp. (The script "object-bug.lua" applies the same Develop settings as in the preset Object Mask.)

 

4. Edit "a.jpg" and apply the preset Object Mask. It should look like:

johnrellis_0-1669859268097.png

 

The rectangular Object mask is the black object in the upper-right corner.

 

5. Reset the photo's settings.

 

6. Do the menu command Scripts > object-bug. The photo should look like:

johnrellis_1-1669859475391.png

 

7. Do Settings > Update AI Settings.

 

8. In the Masking panel, observe the error message:

johnrellis_3-1669859608009.png

 

 

 

 

 

TOPICS
SDK

Views

508

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
Adobe Employee ,
Jan 12, 2023 Jan 12, 2023

Copy link to clipboard

Copied

adding missing status

Rikk Flohr - Customer Advocacy: Adobe Photography Products

Votes

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
Adobe Employee ,
Feb 17, 2023 Feb 17, 2023

Copy link to clipboard

Copied

This has been reviewed by the team and determined not to be a bug.  Moving back to discussions.

"The x and y should be in capital case, i.e., X and Y. One user makes that change in the script, it will work as expected."

Rikk Flohr - Customer Advocacy: Adobe Photography Products

Votes

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
LEGEND ,
Feb 19, 2023 Feb 19, 2023

Copy link to clipboard

Copied

LATEST

Oops, please thank the developer who diagnosed this.

Votes

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