ucupumar / ucupaint

Ucupaint is Blender addon to manage texture layers for Eevee and Cycles renderer.
GNU General Public License v3.0
1.38k stars 43 forks source link

Feature request: Drag from file browser directly into layer #123

Open squiddingme opened 5 months ago

squiddingme commented 5 months ago

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.

ucupumar commented 5 months ago

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

ucupumar commented 2 months ago

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.