LuxCoreRender / BlendLuxCore

Blender Integration for LuxCore
GNU General Public License v3.0
733 stars 92 forks source link

LOL: Doesn't show thumbnails #759

Open odil24 opened 2 years ago

odil24 commented 2 years ago

System: Win10, Blender 3.1 official and LCR v2.61 latest (with LOL assetbar fix)

Problem: LOL Asset viewer doesn't shows Thumbnail images (just black blanks) but it has saved rendered images on the LOL folder.

neo2068 commented 2 years ago

Hi! Are there any error messages in the blender console? Is the big image shown when you hover over a thumbnail? In the preview folder there should be a small image version and in the full folder the big image.

SlincHD commented 2 years ago

yes i got an eror while trying to use LOL

Python: Traceback (most recent call last): File "C:\Users\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\BlendLuxCore\operators\lol\assetbar.py", line 521, in invoke ui_bgl.init_ui_size(context, active_area, active_region) File "C:\Users\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\BlendLuxCore\draw\lol\viewport.py", line 224, in init_ui_size assetbar_props.margin = assetbar_props.bl_rna.properties['margin'].default * ui_scale TypeError: bpy_struct: item.attr = val: LuxCoreOnlineLibraryAssetBar.margin expected an int type, not float

location: :-1

i hope that helps @neo2068 :D

neo2068 commented 2 years ago

That error has been fixed in latest build. Please try if it works with that version. Link

SlincHD commented 2 years ago

thank you very much :D

odil24 commented 2 years ago

That error has been fixed in latest build. Please try if it works with that version. Link

It doesn't helps. Here another issue when I press to Asset bar button:

File "D:\Softwares\Blender\versions\blender-3.1.0-stable(latest)\3.1\scripts\addons\BlendLuxCore\utils\lol\utils.py", line 720, in bg_download_thumbnails
    asset['thumbnail'] = bpy.data.images.load(tpath)
TypeError: unsubscriptable object
neo2068 commented 2 years ago

@odil24 That is a strange error and it should not happen. I cannot reproduce it. Can you test if it gets solved if you push the 'Update ToC from server' button in the addon?

odil24 commented 2 years ago

@odil24 That is a strange error and it should not happen. I cannot reproduce it. Can you test if it gets solved if you push the 'Update ToC from server' button in the addon?

lcr

odil24 commented 2 years ago

@odil24 That is a strange error and it should not happen. I cannot reproduce it. Can you test if it gets solved if you push the 'Update ToC from server' button in the addon?

Yes, but it doesn't solved the problem. Something goes wrong I guess.

Thanks for your response.