ucupaint icon indicating copy to clipboard operation
ucupaint copied to clipboard

Feature request: Drag from file browser directly into layer

Open squiddingme opened this issue 1 year ago • 2 comments

It's possible to drag images from the Blender file browser into the shader node editor and have them automatically drop in as image textures. It would be incredibly convenient if you could do the same for Ucupaint's layer list; having Ucupaint automatically add the dragged image as a layer (I don't know if this is even possible with the Blender addon API). Better still, dragging an entire folder containing PBR textures from the Blender file browser directly into the layer list could function the same as "Open Images to Single Layer"; name-matching the material maps to the appropriate slot.

squiddingme avatar Jun 06 '24 10:06 squiddingme

I think there's no drag-and-drop API on Blender yet. So this one should wait for Blender support.

ucupumar avatar Jun 06 '24 12:06 ucupumar

I just added a commit that can open an image as a layer/mask from the file browser right-click menu. There's no drag-and-drop API yet so it's the best that is possible right now.

ucupumar avatar Sep 09 '24 17:09 ucupumar