[Bf-extensions-cvs] [922ab89d] master: Corrected: changed to <type annotations>. Cosmetic: panel default open.
vlassius santos
noreply at git.blender.org
Wed Jan 23 16:42:11 CET 2019
Commit: 922ab89d4d7c2af3af001c3bb55e4a7e75ac74a4
Author: vlassius santos
Date: Wed Jan 23 13:41:44 2019 -0200
Branches: master
https://developer.blender.org/rBAC922ab89d4d7c2af3af001c3bb55e4a7e75ac74a4
Corrected: changed to <type annotations>. Cosmetic: panel default open.
===================================================================
M io_import_sound_to_anim.py
===================================================================
diff --git a/io_import_sound_to_anim.py b/io_import_sound_to_anim.py
index ebadb1cb..4a0fc123 100644
--- a/io_import_sound_to_anim.py
+++ b/io_import_sound_to_anim.py
@@ -75,7 +75,7 @@ class VIEW3D_PT_CustomMenuPanel(bpy.types.Panel):
bl_region_type = "UI"
bl_label = "Import Tool"
bl_category = "Import Movement From Wav File"
- bl_options = {'DEFAULT_CLOSED'}
+ #bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
layout = self.layout
@@ -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')
#
@@ -972,11 +972,11 @@ class OBJECT_OT_Botao_Go(bpy.types.Operator):
bl_description = "Process a .wav file, take movement from the sound and import to the scene as Key"
bl_label = "Process Wav"
- filter_glob = StringProperty(default="*.wav", options={'HIDDEN'})
- path = StringProperty(name="File Path", description="Filepath used for importing the WAV file", \
+ filter_glob: StringProperty(default="*.wav", options={'HIDDEN'})
+ path: StringProperty(name="File Path", description="Filepath used for importing the WAV file", \
maxlen= 1024, default= "")
- filename = StringProperty(name="File Name", description="Name of the file")
- directory = StringProperty(name="Directory", description="Directory of the file")
+ filename: StringProperty(name="File Name", description="Name of the file")
+ directory: StringProperty(name="Directory", description="Directory of the file")
RunFrom=0
Wave_read=0
More information about the Bf-extensions-cvs
mailing list