Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2011-09-19 19:08:06 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2011-09-19 19:08:06 +0400
commit1d1482044b46c98f86c33945a1bd1cf4edc7bb36 (patch)
tree795f6b4344018f9193e6beb954d5c74396c19012 /io_export_unreal_psk_psa.py
parent0dd81203a3982e55af012cfcc9a232c78ce631b9 (diff)
/trunk: Removed final points in UI strings and messages.
Plus a few styling enhancements. [[Split portion of a mixed commit.]]
Diffstat (limited to 'io_export_unreal_psk_psa.py')
-rw-r--r--io_export_unreal_psk_psa.py44
1 files changed, 29 insertions, 15 deletions
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py
index a49565ae..47460162 100644
--- a/io_export_unreal_psk_psa.py
+++ b/io_export_unreal_psk_psa.py
@@ -1663,7 +1663,7 @@ def fs_callback(filename, context):
#print("Okay")
bArmatureScale = True
else:
- print("Error, Armature Object not scale right should be (1,1,1).")
+ print("Error, Armature Object not scale right should be (1,1,1).")
bArmatureScale = False
if blender_armature[0].location.x == 0 and blender_armature[0].location.y == 0 and blender_armature[0].location.z == 0:
#print("Okay")
@@ -1777,19 +1777,25 @@ from bpy.props import *
bpy.types.Scene.unrealfpsrate = IntProperty(
name="fps rate",
- description="Set the frame per second (fps) for unreal.",
+ description="Set the frame per second (fps) for unreal",
default=24,min=1,max=100)
bpy.types.Scene.unrealexport_settings = EnumProperty(
name="Export:",
description="Select a export settings (psk/psa/all)...",
- items = [("0","PSK","Export PSK"),("1","PSA","Export PSA"),("2","ALL","Export ALL")], default = '0')
-
+ items = [("0","PSK","Export PSK"),
+ ("1","PSA","Export PSA"),
+ ("2","ALL","Export ALL")],
+ default = '0')
+
bpy.types.Scene.UEActionSetSettings = EnumProperty(
name="Action Set(s) Export Type",
- description="For Exporting Single, All, and Select Action Set(s).",
- items = [("0","Single","Single Action Set Export"),("1","All","All Action Sets Export"),("2","Select","Select Action Set(s) Export")], default = '0')
-
+ description="For Exporting Single, All, and Select Action Set(s)",
+ items = [("0","Single","Single Action Set Export"),
+ ("1","All","All Action Sets Export"),
+ ("2","Select","Select Action Set(s) Export")],
+ default = '0')
+
bpy.types.Scene.unrealtriangulatebool = BoolProperty(
name="Triangulate Mesh",
description="Convert Quad to Tri Mesh Boolean...",
@@ -1797,12 +1803,14 @@ bpy.types.Scene.unrealtriangulatebool = BoolProperty(
bpy.types.Scene.unrealignoreactionmatchcount = BoolProperty(
name="Acion Group Ignore Count",
- description="It will ingore Action group count as long is matches the Armature bone count to match and over ride the armature animation data.",
+ description="It will ingore Action group count as long is matches the " \
+ "Armature bone count to match and over ride the armature " \
+ "animation data",
default=False)
bpy.types.Scene.unrealdisplayactionsets = BoolProperty(
name="Show Action Set(s)",
- description="Display Action Sets Information.",
+ description="Display Action Sets Information",
default=False)
bpy.types.Scene.unrealexportpsk = BoolProperty(
@@ -1818,10 +1826,13 @@ bpy.types.Scene.unrealexportpsa = BoolProperty(
class UEAPropertyGroup(bpy.types.PropertyGroup):
## create Properties for the collection entries:
mystring = bpy.props.StringProperty()
- mybool = bpy.props.BoolProperty(name="Export",description="Check if you want to export the action set.",default = False)
-
-bpy.utils.register_class(UEAPropertyGroup)
-
+ mybool = bpy.props.BoolProperty(
+ name="Export",
+ description="Check if you want to export the action set",
+ default = False)
+
+bpy.utils.register_class(UEAPropertyGroup)
+
## create CollectionProperty and link it to the property class
bpy.types.Object.myCollectionUEA = bpy.props.CollectionProperty(type = UEAPropertyGroup)
bpy.types.Object.myCollectionUEA_index = bpy.props.IntProperty(min = -1, default = -1)
@@ -1916,12 +1927,15 @@ class ExportUDKAnimData(bpy.types.Operator):
)
actionexportall = BoolProperty(
name="All Actions",
- description="This will export all the actions that matches the current armature.",
+ description="This will export all the actions that matches the " \
+ "current armature",
default=False,
)
ignoreactioncountexportbool = BoolProperty(
name="Ignore Action Group Count",
- description="It will ignore action group count but as long it matches the armature bone count to over ride the animation data.",
+ description="It will ignore action group count but as long it " \
+ "matches the armature bone count to over ride the " \
+ "animation data",
default= False,
)