BlenderKit: show logout button in profile panel.
This commit is contained in:
parent
c518011113
commit
d285ec6351
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue