zombieyang / sd-ppp

Communicate between Photoshop and SD/SDForge/ComfyUI
MIT License
270 stars 9 forks source link

If hidden layer is active, it is made visible after getting image from Photoshop #53

Open Jonseed opened 2 weeks ago

Jonseed commented 2 weeks ago

If I have a layer hidden in Photoshop, but it is the active layer (currently selected in layers panel), after getting image from Photoshop it is made visible. Can hidden layers stay hidden?

zombieyang commented 2 weeks ago

It is a strange bug from Photoshop and I did something to prevent it. could you show me your layer layout? I tested the single layer getting situation and it is fine.

image

Jonseed commented 1 week ago

I can't reproduce it. I'll let you know if I see it again.

Jonseed commented 1 week ago

ok, I found it. Here is my layout, with the boundary layer hidden:

Screenshot 2024-11-14 094451

And my workflow:

Screenshot 2024-11-14 094608

After running the workflow, the boundary layer is unhidden, like this:

Screenshot 2024-11-14 094634

Jonseed commented 1 week ago

I think the layer is unhidden when an image is sent back from ComfyUI to Photoshop.