2020 "name" : "DKS UE" ,
2121 "description" : "Export to UE" ,
2222 "author" : "DigiKrafting.Studio" ,
23- "version" : (0 , 6 , 0 ),
23+ "version" : (0 , 7 , 0 ),
2424 "blender" : (2 , 80 , 0 ),
2525 "location" : "Info Toolbar, File -> Export" ,
2626 "wiki_url" : "https://github.com/DigiKrafting/blender_addon_ue/wiki" ,
@@ -118,7 +118,7 @@ class dks_ue_addon_prefs(bpy.types.AddonPreferences):
118118 # Static Mesh
119119
120120 ue_static_mesh_NormalImportMethod : bpy .props .EnumProperty (
121- items = [('ComputeNormals' , "ComputeNormals" , "Compute Normals" ),('ImportNormalsAndTangents' , "ImportNormalsAndTangents" , "Import Normals And Tangents" ),('ImportNormals' , "ImportNormals" , "Import Normals" ),],
121+ items = [('ComputeNormals' , "ComputeNormals" , "Compute Normals" , 1 ),('ImportNormalsAndTangents' , "ImportNormalsAndTangents" , "Import Normals And Tangents" , 2 ),('ImportNormals' , "ImportNormals" , "Import Normals" , 3 ),],
122122 name = "Normal Import Method" ,
123123 default = 'ComputeNormals' ,
124124 )
@@ -138,7 +138,7 @@ class dks_ue_addon_prefs(bpy.types.AddonPreferences):
138138 # Skeletal Mesh
139139
140140 ue_skeletal_mesh_NormalImportMethod : bpy .props .EnumProperty (
141- items = [('ComputeNormals' , "ComputeNormals" , "Compute Normals" ),('ImportNormalsAndTangents' , "ImportNormalsAndTangents" , "Import Normals And Tangents" ),('ImportNormals' , "ImportNormals" , "Import Normals" ),],
141+ items = [('ComputeNormals' , "ComputeNormals" , "Compute Normals" , 1 ),('ImportNormalsAndTangents' , "ImportNormalsAndTangents" , "Import Normals And Tangents" , 2 ),('ImportNormals' , "ImportNormals" , "Import Normals" , 3 ),],
142142 name = "Normal Import Method" ,
143143 default = 'ComputeNormals' ,
144144 )
@@ -161,16 +161,16 @@ class dks_ue_addon_prefs(bpy.types.AddonPreferences):
161161
162162 # Animations
163163
164- ue_animation_animation_length : bpy .props .EnumProperty (
165- items = [('AnimatedKey' , "AnimatedKey" , "Animated Key" ),('ExportedTime' , "ExportedTime" , "Exported Time" ),('SetRange' , "SetRange" , "Set Range" ),],
166- name = "Animation_Length " ,
164+ ue_animation_AnimationLength : bpy .props .EnumProperty (
165+ items = [('AnimatedKey' , "AnimatedKey" , "Animated Key" , 1 ),('ExportedTime' , "ExportedTime" , "Exported Time" , 2 ),('SetRange' , "SetRange" , "Set Range" , 3 ),],
166+ name = "Animation Length " ,
167167 default = 'ExportedTime' ,
168168 )
169- ue_animation_frame_range_min : bpy .props .IntProperty (
169+ ue_animation_FrameRangeMin : bpy .props .IntProperty (
170170 name = "Frame Range Min" ,
171171 default = 0 ,
172172 )
173- ue_animation_frame_range_max : bpy .props .IntProperty (
173+ ue_animation_FrameRangeMax : bpy .props .IntProperty (
174174 name = "Frame Range Max" ,
175175 default = 0 ,
176176 )
@@ -218,10 +218,8 @@ def draw(self, context):
218218
219219 box = layout .box ()
220220 box .prop (self , 'option_ue_json' )
221- box .label (text = 'Creates a "{fbx_file_name}.bjd" for the UE Plugin.' ,icon = 'INFO' )
222221
223222 box_sub = box .box ()
224- box_sub .label (text = 'UE JSON Settings' ,icon = 'RADIOBUT_ON' )
225223 box_sub .prop (self , 'ue_ImportMesh' )
226224 box_sub .prop (self , 'ue_ImportMaterials' )
227225 box_sub .prop (self , 'ue_ImportAnimations' )
@@ -245,9 +243,9 @@ def draw(self, context):
245243
246244 box_sub = box .box ()
247245 box_sub .label (text = 'Animations' ,icon = 'RADIOBUT_ON' )
248- box_sub .prop (self , 'ue_animation_animation_length ' )
249- box_sub .prop (self , 'ue_animation_frame_range_min ' )
250- box_sub .prop (self , 'ue_animation_frame_range_max ' )
246+ box_sub .prop (self , 'ue_animation_AnimationLength ' )
247+ box_sub .prop (self , 'ue_animation_FrameRangeMin ' )
248+ box_sub .prop (self , 'ue_animation_FrameRangeMax ' )
251249 box_sub .prop (self , 'ue_animation_ImportMeshesInBoneHierarchy' )
252250 box_sub .prop (self , 'ue_animation_UseDefaultSampleRate' )
253251 box_sub .prop (self , 'ue_animation_CustomSampleRate' )
0 commit comments