From 7771f0fee3e508674b4852d0ae1f3ae01243ade8 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 18 Jan 2012 20:51:26 +0000 Subject: - Removed dots from the end of description - Check for keymap availability to suppress warning messages when running blender in background mode --- io_export_unreal_psk_psa.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'io_export_unreal_psk_psa.py') diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py index 4c409c85..5153eed1 100644 --- a/io_export_unreal_psk_psa.py +++ b/io_export_unreal_psk_psa.py @@ -1808,7 +1808,7 @@ bpy.types.Scene.unrealfpsrate = IntProperty( bpy.types.Scene.unrealexport_settings = EnumProperty( name="Export:", - description="Select a export settings (psk/psa/all)...", + description="Select a export settings (psk/psa/all)", items = [("0","PSK","Export PSK"), ("1","PSA","Export PSA"), ("2","ALL","Export ALL")], @@ -1824,7 +1824,7 @@ bpy.types.Scene.UEActionSetSettings = EnumProperty( bpy.types.Scene.unrealtriangulatebool = BoolProperty( name="Triangulate Mesh", - description="Convert Quad to Tri Mesh Boolean...", + description="Convert Quad to Tri Mesh Boolean", default=False) bpy.types.Scene.unrealignoreactionmatchcount = BoolProperty( @@ -1872,7 +1872,7 @@ bpy.types.Object.myCollectionUEA_index = bpy.props.IntProperty(min = -1, default class OBJECT_OT_add_remove_Collection_Items_UE(bpy.types.Operator): bl_label = "Add or Remove" bl_idname = "collection.add_remove_ueactions" - __doc__ = """Button for Add, Remove, Refresh Action Set(s) list.""" + __doc__ = """Button for Add, Remove, Refresh Action Set(s) list""" set = bpy.props.StringProperty() def invoke(self, context, event): @@ -1931,7 +1931,7 @@ class ExportUDKAnimData(bpy.types.Operator): '''Export Skeleton Mesh / Animation Data file(s)''' bl_idname = "export_anim.udk" # this is important since its how bpy.ops.export.udk_anim_data is constructed bl_label = "Export PSK/PSA" - __doc__ = """One mesh and one armature else select one mesh or armature to be exported.""" + __doc__ = """One mesh and one armature else select one mesh or armature to be exported""" # List of operator properties, the attributes will be assigned # to the class instance from the operator settings before calling. @@ -2067,7 +2067,7 @@ class OBJECT_OT_UnrealExport(bpy.types.Operator): global exportmessage bl_idname = "export_mesh.udk" # XXX, name??? bl_label = "Unreal Export" - __doc__ = """Select export setting for .psk/.psa or both.""" + __doc__ = """Select export setting for .psk/.psa or both""" def invoke(self, context, event): print("Init Export Script:") @@ -2094,7 +2094,7 @@ class OBJECT_OT_ToggleConsle(bpy.types.Operator): global exportmessage bl_idname = "object.toggleconsle" # XXX, name??? bl_label = "Toggle Console" - __doc__ = "Show or Hide Console." + __doc__ = "Show or Hide Console" def invoke(self, context, event): bpy.ops.wm.console_toggle() @@ -2103,7 +2103,7 @@ class OBJECT_OT_ToggleConsle(bpy.types.Operator): class OBJECT_OT_UTSelectedFaceSmooth(bpy.types.Operator): bl_idname = "object.utselectfacesmooth" # XXX, name??? bl_label = "Select Smooth faces" - __doc__ = """It will only select smooth faces that is select mesh.""" + __doc__ = """It will only select smooth faces that is select mesh""" def invoke(self, context, event): print("----------------------------------------") @@ -2158,7 +2158,7 @@ class OBJECT_OT_DeleteActionSet(bpy.types.Operator): class OBJECT_OT_MeshClearWeights(bpy.types.Operator): bl_idname = "object.meshclearweights" # XXX, name??? bl_label = "Mesh Clear Weights" - __doc__ = """Clear selected mesh vertex group weights for the bones. Be sure you unparent the armature.""" + __doc__ = """Clear selected mesh vertex group weights for the bones. Be sure you unparent the armature""" def invoke(self, context, event): for obj in bpy.data.objects: @@ -2171,7 +2171,7 @@ class OBJECT_OT_MeshClearWeights(bpy.types.Operator): class OBJECT_OT_UTRebuildArmature(bpy.types.Operator): bl_idname = "object.utrebuildarmature" # XXX, name??? bl_label = "Rebuild Armature" - __doc__ = """If mesh is deform when importing to unreal engine try this. It rebuild the bones one at the time by select one armature object scrape to raw setup build. Note the scale will be 1:1 for object mode. To keep from deforming.""" + __doc__ = """If mesh is deform when importing to unreal engine try this. It rebuild the bones one at the time by select one armature object scrape to raw setup build. Note the scale will be 1:1 for object mode. To keep from deforming""" def invoke(self, context, event): print("----------------------------------------") @@ -2242,7 +2242,7 @@ def unpack_list(list_of_tuples): class OBJECT_OT_UTRebuildMesh(bpy.types.Operator): bl_idname = "object.utrebuildmesh" # XXX, name??? bl_label = "Rebuild Mesh" - __doc__ = """It rebuild the mesh from scrape from the selected mesh object. Note the scale will be 1:1 for object mode. To keep from deforming.""" + __doc__ = """It rebuild the mesh from scrape from the selected mesh object. Note the scale will be 1:1 for object mode. To keep from deforming""" def invoke(self, context, event): print("----------------------------------------") -- cgit v1.2.3