diff --git a/blenderkit/ratings.py b/blenderkit/ratings.py index 35c3bf3c53dd75b75f82c05ca2e57de15144cf91..ef6cc6a8ffef919b75c4111240c56f9658db93eb 100644 --- a/blenderkit/ratings.py +++ b/blenderkit/ratings.py @@ -346,14 +346,16 @@ class FastRateMenu(Operator): ('3', '3', ''), ('4', '4', ''), ('5', '5', ''), + ('6', '6', ''), + ('8', '8', ''), ('10', '10', ''), ('15', '15', ''), ('20', '20', ''), ('50', '50', ''), ('100', '100', ''), - ('150', '100', ''), - ('200', '100', ''), - ('250', '100', ''), + ('150', '150', ''), + ('200', '200', ''), + ('250', '250', ''), ], default='0', update=update_ratings_work_hours_ui ) diff --git a/blenderkit/ui.py b/blenderkit/ui.py index b6bbbd6472cd2e5ac12eea8ebce589c436a2f7b6..7923de991b07645e60c5e38db8120b0a7c821e73 100644 --- a/blenderkit/ui.py +++ b/blenderkit/ui.py @@ -738,14 +738,14 @@ def draw_callback_2d_search(self, context): highlight = (1, 1, 1, .2) # highlight = (1, 1, 1, 0.8) # background of asset bar - if ui_props.hcount>0: - #this fixes a draw issue introduced in blender 2.91. draws a very small version of the image to avoid problems - # with alpha. Not sure why this works. - img = utils.get_thumbnail('arrow_left.png') - ui_bgl.draw_image(0, 0, 1, - 1, - img, - 1) + # if ui_props.hcount>0: + # #this fixes a draw issue introduced in blender 2.91. draws a very small version of the image to avoid problems + # # with alpha. Not sure why this works. + # img = utils.get_thumbnail('arrow_left.png') + # ui_bgl.draw_image(0, 0, 1, + # 1, + # img, + # 1) if not ui_props.dragging and ui_props.hcount>0: search_results = s.get('search results') search_results_orig = s.get('search results orig') diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py index ed1284583d2035f2c96078b838e1e509e6bb01f5..eaf5d4549dca946af4baf35292ad0b67701ab833 100644 --- a/blenderkit/ui_panels.py +++ b/blenderkit/ui_panels.py @@ -1083,6 +1083,8 @@ def draw_asset_context_menu(self, context, asset_data): # validation if utils.profile_is_validator(): layout.label(text='Validation tools:') + layout.operator_context = 'EXEC_DEFAULT' + if asset_data['verificationStatus'] != 'uploaded': op = layout.operator('object.blenderkit_change_status', text='set Uploaded') op.asset_id = asset_data['id'] diff --git a/blenderkit/upload.py b/blenderkit/upload.py index ef637d79273fbea88ee87581a08932ff60efa7d9..cd72fda7255d7cce84ac1ce969c3e62a634288e3 100644 --- a/blenderkit/upload.py +++ b/blenderkit/upload.py @@ -836,7 +836,7 @@ class AssetVerificationStatusChange(Operator): return {'FINISHED'} def invoke(self, context, event): - print(self.state) + # print(self.state) if self.state == 'deleted': wm = context.window_manager return wm.invoke_props_dialog(self)