diff options
author | Vilem Duha <vilem.duha@gmail.com> | 2019-06-23 18:40:25 +0300 |
---|---|---|
committer | Vilem Duha <vilem.duha@gmail.com> | 2019-06-24 22:30:05 +0300 |
commit | caf4a3058e6546d99e1394672683a0957a123ab4 (patch) | |
tree | fe3fb9be76f314e0c471276e6cb745981d63a4e3 /blenderkit/ui_panels.py | |
parent | 746b6735394c1b0a9f25c9a87da961f389849c4a (diff) |
BlenderKit: fix link to docs ans several small UI tweaks
Diffstat (limited to 'blenderkit/ui_panels.py')
-rw-r--r-- | blenderkit/ui_panels.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py index ef89ddb0..c11ad6e3 100644 --- a/blenderkit/ui_panels.py +++ b/blenderkit/ui_panels.py @@ -92,6 +92,8 @@ def draw_upload_common(layout, props, asset_type, context): op.url = paths.BLENDERKIT_MODEL_UPLOAD_INSTRUCTIONS_URL if asset_type == 'MATERIAL': op.url = paths.BLENDERKIT_MATERIAL_UPLOAD_INSTRUCTIONS_URL + if asset_type == 'BRUSH': + op.url = paths.BLENDERKIT_BRUSH_UPLOAD_INSTRUCTIONS_URL row = layout.row(align=True) if props.upload_state != '': @@ -661,7 +663,7 @@ class VIEW3D_PT_blenderkit_unified(Panel): return; if ui_props.asset_type == 'MODEL': - label_multiline(layout, "Uploaded models won't be available in b2.79", icon='ERROR') + # label_multiline(layout, "Uploaded models won't be available in b2.79", icon='ERROR') if bpy.context.active_object is not None: draw_panel_model_upload(self, context) else: @@ -670,7 +672,7 @@ class VIEW3D_PT_blenderkit_unified(Panel): draw_panel_scene_upload(self, context) elif ui_props.asset_type == 'MATERIAL': - label_multiline(layout, "Uploaded materials won't be available in b2.79", icon='ERROR') + # label_multiline(layout, "Uploaded materials won't be available in b2.79", icon='ERROR') if bpy.context.active_object is not None and bpy.context.active_object.active_material is not None: draw_panel_material_upload(self, context) |