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

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

1 Vote
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

 

 

 

 

 

Bug Investigating
TOPICS
SDK

Views

135

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 Pinned Reply

Adobe Employee , Jan 12, 2023 Jan 12, 2023

adding missing status

Status Investigating

Votes

Translate

Translate
1 Comment
Adobe Employee ,
Jan 12, 2023 Jan 12, 2023

Copy link to clipboard

Copied

LATEST

adding missing status

Rikk Flohr - Customer Advocacy: Adobe Photography Products
Status Investigating

Votes

Translate

Translate

Report

Report