diff options
author | Vilém Duha <vilda.novak@gmail.com> | 2020-12-27 23:26:55 +0300 |
---|---|---|
committer | Vilém Duha <vilda.novak@gmail.com> | 2020-12-27 23:26:55 +0300 |
commit | 317934f41738179fbd18acda57cc3ff85eb3ac27 (patch) | |
tree | cc489c3d9232ea9eadc060de6285755fddf69856 /blenderkit/ratings.py | |
parent | 5a6b7e99c1297d60022117ad596d5614892340ed (diff) |
BlenderKit: several improvements to rating
Try to make rating more prominent in the interface by adding some messages to tooltips (by now only for validators),
reorder rating in the menu
Fix texture resolution in tooltips.
Diffstat (limited to 'blenderkit/ratings.py')
-rw-r--r-- | blenderkit/ratings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blenderkit/ratings.py b/blenderkit/ratings.py index 2ec1f462..d2c91412 100644 --- a/blenderkit/ratings.py +++ b/blenderkit/ratings.py @@ -342,7 +342,7 @@ class FastRateMenu(Operator): rating_work_hours: FloatProperty(name="Work Hours", description="How many hours did this work take?", default=0.00, - min=0.0, max=1000, update=update_ratings_work_hours + min=0.0, max=150, update=update_ratings_work_hours ) rating_work_hours_ui: EnumProperty(name="Work Hours", @@ -443,7 +443,7 @@ class FastRateMenu(Operator): self.message = f"Rate asset {self.asset_name}" wm = context.window_manager - if utils.profile_is_validator(): + if utils.profile_is_validator() and self.asset_type == 'model': #spawn a wider one for validators for the enum buttons return wm.invoke_props_dialog(self, width = 500) else: |