BlendLuxCore
BlendLuxCore copied to clipboard
Fix for Asset Bar using Blender v3.1.0: int for assetbar_props.hcount in viewport.py
viewport.py file: fix lines 311 and 313
assetbar_props.hcount = int(assetbar_props.height / (ui_props.thumb_size + 2*assetbar_props.margin)) assetbar_props.hcount = int(1) viewport.py.txt
Steps to reproduce: click asset bar
Screenshots or rendered images:
Error message from Blender console: int instead of float
OS: win 11 Blender version: 3.1.0 LuxCore version: win64 automatic build Mar 28 2022