Skip to content
Snippets Groups Projects
Commit a3fa40ec authored by Vilém Duha's avatar Vilém Duha
Browse files

BlenderKit: drawing custom icon crashes blender, disabling some code at least until it's fixed.

parent f8a16827
Branches
Tags
No related merge requests found
...@@ -522,7 +522,7 @@ class VIEW3D_PT_blenderkit_profile(Panel): ...@@ -522,7 +522,7 @@ class VIEW3D_PT_blenderkit_profile(Panel):
row = layout.row() row = layout.row()
row.label(text='My plan:') row.label(text='My plan:')
row.label(text='%s plan' % pn, icon_value=my_icon.icon_id) row.label(text='%s plan' % pn)#, icon_value=my_icon.icon_id)
if pn == 'Free': if pn == 'Free':
layout.operator("wm.url_open", text="Change plan", layout.operator("wm.url_open", text="Change plan",
icon='URL').url = paths.get_bkit_url() + paths.BLENDERKIT_PLANS icon='URL').url = paths.get_bkit_url() + paths.BLENDERKIT_PLANS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment