Move "Share on Cloud" button from image header to menu.

This commit is contained in:
Sybren A. Stüvel 2016-07-15 14:01:21 +02:00
parent 53ab2fc6df
commit 80d2b5b2e7

View File

@ -312,12 +312,12 @@ def window_menu(self, context):
def register(): def register():
bpy.utils.register_class(PILLAR_OT_image_share) bpy.utils.register_class(PILLAR_OT_image_share)
bpy.types.IMAGE_HT_header.append(image_editor_menu) bpy.types.IMAGE_MT_image.append(image_editor_menu)
bpy.types.INFO_MT_window.append(window_menu) bpy.types.INFO_MT_window.append(window_menu)
def unregister(): def unregister():
bpy.utils.unregister_class(PILLAR_OT_image_share) bpy.utils.unregister_class(PILLAR_OT_image_share)
bpy.types.IMAGE_HT_header.remove(image_editor_menu) bpy.types.IMAGE_MT_image.remove(image_editor_menu)
bpy.types.INFO_MT_window.remove(window_menu) bpy.types.INFO_MT_window.remove(window_menu)