Open squiddingme opened 5 months ago
I think there's no drag-and-drop API on Blender yet. So this one should wait for Blender support.
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.
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.