BlendLuxCore icon indicating copy to clipboard operation
BlendLuxCore copied to clipboard

Fix for Asset Bar using Blender v3.1.0: int for assetbar_props.hcount in viewport.py

Open mondoleo opened this issue 2 years ago • 0 comments

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

mondoleo avatar Mar 30 '22 09:03 mondoleo