Update __init__.py

This commit is contained in:
Jamie Hardt
2020-09-27 10:31:21 -07:00
committed by GitHub
parent 06ec60f519
commit 180e3c38c4

View File

@@ -15,17 +15,17 @@ bl_info = {
}
class SoundObjectAttachmentPanel(bpy.types.Panel):
bl_idname = "OBJECT_PT_sound_object_attachment_panel"
bl_space_type = "VIEW_3D"
bl_label = "Attach Sounds"
bl_region_type = "UI"
bl_category = "Tools"
bl_context = "object"
bl_options = {"DEFAULT_CLOSED"}
# class SoundObjectAttachmentPanel(bpy.types.Panel):
# bl_idname = "OBJECT_PT_sound_object_attachment_panel"
# bl_space_type = "VIEW_3D"
# bl_label = "Attach Sounds"
# bl_region_type = "UI"
# bl_category = "Tools"
# bl_context = "object"
# bl_options = {"DEFAULT_CLOSED"}
def draw(self, context):
self.layout.label(text="Attach Sounds")
# def draw(self, context):
# self.layout.label(text="Attach Sounds")
@@ -62,4 +62,4 @@ def unregister():
bpy.types.TOPBAR_MT_file_export.remove(export_adm_menu_callback)
bpy.types.VIEW3D_MT_object.remove(add_sound_to_mesh_menu_callback)
bpy.utils.unregister_class(SoundObjectAttachmentPanel)
bpy.utils.unregister_class(SoundObjectAttachmentPanel)