BlenderKit: show logout button in profile panel.

This commit is contained in:
Vilem Duha 2019-07-02 22:19:58 +02:00
parent c518011113
commit d285ec6351
1 changed files with 3 additions and 0 deletions

View File

@ -554,6 +554,9 @@ def draw_login_buttons(layout):
layout.operator("wm.blenderkit_login", text="Sign up",
icon='URL').signup = True
if user_preferences.api_key != '':
layout.operator("wm.blenderkit_logout", text="Logout",
icon='URL')
class VIEW3D_PT_blenderkit_unified(Panel):
bl_category = "BlenderKit"