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

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

LEGEND ,
Nov 30, 2022 Nov 30, 2022

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
607
Translate
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

adding missing status

Rikk Flohr: Adobe Photography Org
Translate
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

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: Adobe Photography Org
Translate
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
LATEST

Oops, please thank the developer who diagnosed this.

Translate
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