Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'blenderkit/ui.py')
-rw-r--r--blenderkit/ui.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/blenderkit/ui.py b/blenderkit/ui.py
index b6bbbd64..7923de99 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')