[Bf-extensions-cvs] [377c0aad] master: cleanup: unused code

vlassius santos noreply at git.blender.org
Wed Jan 23 16:20:21 CET 2019


Commit: 377c0aad7f728d18f3797b965780225af41fea50
Author: vlassius santos
Date:   Wed Jan 23 13:19:21 2019 -0200
Branches: master
https://developer.blender.org/rBAC377c0aad7f728d18f3797b965780225af41fea50

cleanup: unused code

===================================================================

M	io_import_sound_to_anim.py

===================================================================

diff --git a/io_import_sound_to_anim.py b/io_import_sound_to_anim.py
index e4bcb1f4..ebadb1cb 100644
--- a/io_import_sound_to_anim.py
+++ b/io_import_sound_to_anim.py
@@ -266,13 +266,13 @@ class VIEW3D_PT_CustomMenuPanel(bpy.types.Panel):
             if context.object.imp_sound_to_anim.bTypeImport == 2:
 
                 row=layout.row()
-                row.prop(context.object.imp_sound_to_anim,"audio_sense")
-                row=layout.row()
-                row.prop(context.object.imp_sound_to_anim,"frames_per_second")
-                row=layout.row()
-                row.prop(context.object.imp_sound_to_anim,"action_per_second")
-                row=layout.row()
-                layout.operator(ImportWavFile.bl_idname)
+                #row.prop(context.object.imp_sound_to_anim,"audio_sense")
+                #row=layout.row()
+                #row.prop(context.object.imp_sound_to_anim,"frames_per_second")
+                #row=layout.row()
+                #row.prop(context.object.imp_sound_to_anim,"action_per_second")
+                #row=layout.row()
+                #layout.operator(ImportWavFile.bl_idname)
 
 
 #
@@ -511,8 +511,8 @@ class ImpSoundtoAnim(bpy.types.PropertyGroup):
 
 from bpy.props import *
 
-def WavFileImport(self, context):
-    self.layout.operator(ImportWavFile.bl_idname, text="Import a wav file", icon='PLUGIN')
+#def WavFileImport(self, context):
+#    self.layout.operator(ImportWavFile.bl_idname, text="Import a wav file", icon='PLUGIN')
 
 
 #



More information about the Bf-extensions-cvs mailing list