Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mondoleo opened this issue Mar 30, 2022 · 0 comments

Comments

@mondoleo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant