Removed dead code
This commit is contained in:
@@ -298,22 +298,3 @@ class AddSoundToMeshOperator(Operator):
|
|||||||
sync_peak=self.sync_audio_peak,
|
sync_peak=self.sync_audio_peak,
|
||||||
gaussian_stddev=self.gaussian_stddev)
|
gaussian_stddev=self.gaussian_stddev)
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|
||||||
|
|
||||||
# def menu_func(self, context):
|
|
||||||
# self.layout.operator(AddSoundToMeshOperator.bl_idname, icon='SPEAKER')
|
|
||||||
|
|
||||||
|
|
||||||
# def register():
|
|
||||||
# bpy.utils.register_class(AddSoundToMeshOperator)
|
|
||||||
# bpy.types.VIEW3D_MT_object.append(menu_func)
|
|
||||||
|
|
||||||
|
|
||||||
# def unregister():
|
|
||||||
# bpy.utils.unregister_class(AddSoundToMeshOperator)
|
|
||||||
# bpy.types.VIEW3D_MT_object.remove(menu_func)
|
|
||||||
|
|
||||||
|
|
||||||
# if __name__ == "__main__":
|
|
||||||
# register()
|
|
||||||
|
|
||||||
|
|||||||
@@ -471,22 +471,3 @@ class ADMWaveExport(Operator, ExportHelper):
|
|||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
return write_some_data(context, self.filepath, self.room_size, self.max_objects)
|
return write_some_data(context, self.filepath, self.room_size, self.max_objects)
|
||||||
|
|
||||||
|
|
||||||
# Only needed if you want to add into a dynamic menu
|
|
||||||
# def menu_func_export(self, context):
|
|
||||||
# self.layout.operator(ADMWaveExport.bl_idname, text="ADM Broadcast-WAVE (.wav)")
|
|
||||||
|
|
||||||
|
|
||||||
# def register():
|
|
||||||
# bpy.utils.register_class(ADMWaveExport)
|
|
||||||
# bpy.types.TOPBAR_MT_file_export.append(menu_func_export)
|
|
||||||
|
|
||||||
|
|
||||||
# def unregister():
|
|
||||||
# bpy.utils.unregister_class(ADMWaveExport)
|
|
||||||
# bpy.types.TOPBAR_MT_file_export.remove(menu_func_export)
|
|
||||||
|
|
||||||
|
|
||||||
# if __name__ == "__main__":
|
|
||||||
# register()
|
|
||||||
|
|
||||||
|
|||||||
@@ -83,24 +83,3 @@ class ImportWav(Operator, ImportHelper):
|
|||||||
dir=self.all_in_directory, fake=self.fake,
|
dir=self.all_in_directory, fake=self.fake,
|
||||||
pack=False)
|
pack=False)
|
||||||
|
|
||||||
|
|
||||||
# Only needed if you want to add into a dynamic menu
|
|
||||||
# def menu_func_import(self, context):
|
|
||||||
# self.layout.operator(ImportWav.bl_idname, text="WAV Audio Files (.wav)")
|
|
||||||
|
|
||||||
|
|
||||||
# def register():
|
|
||||||
# bpy.utils.register_class(ImportWav)
|
|
||||||
# bpy.types.TOPBAR_MT_file_import.append(menu_func_import)
|
|
||||||
|
|
||||||
|
|
||||||
# def unregister():
|
|
||||||
# bpy.utils.unregister_class(ImportWav)
|
|
||||||
# bpy.types.TOPBAR_MT_file_import.remove(menu_func_import)
|
|
||||||
|
|
||||||
|
|
||||||
# if __name__ == "__main__":
|
|
||||||
# register()
|
|
||||||
|
|
||||||
# test call
|
|
||||||
# bpy.ops.import_test.wav_file_batch('INVOKE_DEFAULT')
|
|
||||||
|
|||||||
Reference in New Issue
Block a user