Added custom cloud icon

This commit is contained in:
2016-07-08 17:00:44 +02:00
parent 2e617287fd
commit 250939dc32
3 changed files with 55 additions and 14 deletions

View File

@@ -256,7 +256,8 @@ def image_editor_menu(self, context):
box.enabled = False
text = 'Save image before sharing on Blender Cloud'
props = box.operator(PILLAR_OT_image_share.bl_idname, text=text)
props = box.operator(PILLAR_OT_image_share.bl_idname, text=text,
icon_value=blender.icon('CLOUD'))
props.target = 'DATABLOCK'
props.name = image.name