Copy link to clipboard
Copied
As it stands, all selected photos are targeted by develop setting adjustments made by a plugin - behavior is inconsistent with Lightroom proper. Either have targetPhotos just return 1 photo, or have another method for getDevelopTargets, or allow module detection - something (anything) - present behavior is not what is expected by develop setting plugin users - no way around it that I can see(?) Same problem in Library/Loupe view - all photos targeted...
Rob
Copy link to clipboard
Copied
Either have targetPhotos just return 1 photo,
Doesn't catalog:getTargetPhoto () return just one photo, the active photo?
Copy link to clipboard
Copied
johnrellis wrote:
Doesn't catalog:getTargetPhoto () return just one photo, the active photo?
Yes, but the problem is that a develop-settings plugin (as example) should target all selected photos in grid view, but only most selected photo in loupe and develop modes - in order to be consistent with how Lightroom proper behaves, which is what most users expect. At present there is no way to do it - that I can see. Its not a big thing as long as the users understand what behavior to expect, and in fact I think I'll just put a checkbox for "all selected photos" vs. "most selected photo only" right on the interface which will make it clear and give either option regardless of display mode / module - I think this will be a super solution actually - thanks for helping me think of it .
Rob