diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2020-12-06 21:14:00 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2020-12-06 21:14:00 +0300 |
commit | 7faa6b379fd818b8af8cf8279ff9f43cbdbb169e (patch) | |
tree | ce0771f046cbd1178c99eb12aaaa10ce7485abe5 /blenderkit/ui_panels.py | |
parent | c61ff213d6df5b89f53767d5b5a4b26075c04360 (diff) |
BlenderKit: fix possible error when loading preferences.
Diffstat (limited to 'blenderkit/ui_panels.py')
-rw-r--r-- | blenderkit/ui_panels.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py index 60e749e5..abf4fc97 100644 --- a/blenderkit/ui_panels.py +++ b/blenderkit/ui_panels.py @@ -468,11 +468,11 @@ class VIEW3D_PT_blenderkit_ratings(Panel): layout = self.layout assets = ratings.get_assets_for_rating() if len(assets) > 0: - layout.label(text='Help BlenderKit community') - layout.label(text='by rating these assets:') + utils.label_multiline(layout, text='Please help BlenderKit community by rating these assets:') for a in assets: - draw_rating_asset(self, context, asset=a) + if a.bkit_ratings.rating_work_hours==0: + draw_rating_asset(self, context, asset=a) def draw_login_progress(layout): |