ucupumar / ucupaint

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

Bug: "Open Material Images to Layer" Asset Browser functionality scans unrelated files #168

Closed eisegesis-623 closed 1 month ago

eisegesis-623 commented 1 month ago

I've been attempting to use the new "Open Material Images to Layer" functionality for the Asset Browser in Ucupaint 2.1.0 in blender 4.2.0 Stable.

Step by step, here is what I am doing and what is occurring.

What seems to be happening with the error message is that Ucupaint (or the asset browser) is, for some reason, scanning every .blend file in every folder/subfolders of every asset library, regardless of whether the .blend has an asset in it or if the selected material asset is even in that library. If any .blend files in any of these folders are corrupted, Blender will return an error and the functionality will break. Additionally, if the material is present in the file already the scan will not occur and there will be no errors (as demonstrated by the behavior with the "copies" caused by the error).

ucupumar commented 1 month ago

Can you try it again with the latest master commit? This issue is possibly already fixed

ucupumar commented 1 month ago

Op didn't respond but I'm pretty sure this one already fixed

eisegesis-623 commented 1 month ago

Apologies for not responding, I didn't see a notification :( but yes it appears to be fixed now. Thank you so much!