[Bf-extensions-cvs] [7d305b68] master: BlenderKit: temporarily disable search style and engine.
Vilem Duha
noreply at git.blender.org
Sun Apr 21 21:21:50 CEST 2019
Commit: 7d305b6868e6505ba843ca1b0cc5d6042761e505
Author: Vilem Duha
Date: Thu Apr 11 10:58:58 2019 +0200
Branches: master
https://developer.blender.org/rBA7d305b6868e6505ba843ca1b0cc5d6042761e505
BlenderKit: temporarily disable search style and engine.
===================================================================
M blenderkit/ui_panels.py
===================================================================
diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py
index 9444f619..724a51a4 100644
--- a/blenderkit/ui_panels.py
+++ b/blenderkit/ui_panels.py
@@ -277,7 +277,7 @@ def draw_panel_model_search(self, context):
if props.report == 'Available only in higher plans.':
layout.operator("wm.url_open", text="Check plans", icon='URL').url = paths.BLENDERKIT_PLANS
- layout.prop(props, "search_style")
+ # layout.prop(props, "search_style")
# if props.search_style == 'OTHER':
# layout.prop(props, "search_style_other")
# layout.prop(props, "search_engine")
@@ -292,8 +292,8 @@ def draw_panel_model_search(self, context):
# layout.label(text = "common searches keywords:")
# layout.prop(props, "search_global_keywords", text = "")
# layout.prop(props, "search_modifier_keywords")
- if props.search_engine == 'OTHER':
- layout.prop(props, "search_engine_keyword")
+ # if props.search_engine == 'OTHER':
+ # layout.prop(props, "search_engine_keyword")
# AGE
layout.prop(props, "search_condition") # , text ='condition of object new/old e.t.c.')
@@ -345,10 +345,10 @@ def draw_panel_scene_search(self, context):
label_multiline(layout, text=props.report)
- layout.prop(props, "search_style")
- if props.search_style == 'OTHER':
- layout.prop(props, "search_style_other")
- layout.prop(props, "search_engine")
+ # layout.prop(props, "search_style")
+ # if props.search_style == 'OTHER':
+ # layout.prop(props, "search_style_other")
+ #layout.prop(props, "search_engine")
layout.separator()
draw_panel_categories(self, context)
@@ -447,12 +447,12 @@ def draw_panel_material_search(self, context):
label_multiline(layout, text=props.report)
- layout.prop(props, 'search_style')
- if props.search_style == 'OTHER':
- layout.prop(props, 'search_style_other')
- layout.prop(props, 'search_engine')
- if props.search_engine == 'OTHER':
- layout.prop(props, 'search_engine_other')
+ # layout.prop(props, 'search_style')
+ # if props.search_style == 'OTHER':
+ # layout.prop(props, 'search_style_other')
+ # layout.prop(props, 'search_engine')
+ # if props.search_engine == 'OTHER':
+ # layout.prop(props, 'search_engine_other')
layout.prop(props, 'automap')
More information about the Bf-extensions-cvs
mailing list