Update __init__.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user