[Bf-extensions-cvs] [9edfa13] master: fix warnings with UI description
Philipp Oeser
noreply at git.blender.org
Mon Oct 13 16:08:58 CEST 2014
Commit: 9edfa1364971d41424644ad9499f80187ebaa553
Author: Philipp Oeser
Date: Mon Oct 13 15:55:26 2014 +0200
Branches: master
https://developer.blender.org/rBA9edfa1364971d41424644ad9499f80187ebaa553
fix warnings with UI description
===================================================================
M io_export_dxf/operator.py
M io_export_unreal_psk_psa.py
M io_scene_fbx/__init__.py
M io_scene_ms3d/ms3d_strings.py
M mesh_bsurfaces.py
M mesh_looptools.py
M render_povray/__init__.py
M uv_bake_texture_to_vcols.py
===================================================================
diff --git a/io_export_dxf/operator.py b/io_export_dxf/operator.py
index 12d9c9e..b5d8d08 100644
--- a/io_export_dxf/operator.py
+++ b/io_export_dxf/operator.py
@@ -152,7 +152,7 @@ class DXFExporter(bpy.types.Operator):
items=projectionItems)
onlySelected = BoolProperty(name="Only selected", default=True,
- description="What object will be exported? Only selected / all objects.")
+ description="What object will be exported? Only selected / all objects")
apply_modifiers = BoolProperty(name="Apply modifiers", default=True,
description="Shall be modifiers applied during export?")
@@ -227,7 +227,7 @@ class DXFExporter(bpy.types.Operator):
# description='Set default LINETYPE')
verbose = BoolProperty(name="Verbose", default=False,
- description="Run the exporter in debug mode. Check the console for output.")
+ description="Run the exporter in debug mode. Check the console for output")
def execute(self, context):
filePath = bpy.path.ensure_ext(self.filepath, ".dxf")
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py
index a1bdcb0..03e9749 100644
--- a/io_export_unreal_psk_psa.py
+++ b/io_export_unreal_psk_psa.py
@@ -1913,7 +1913,7 @@ bpy.types.Scene.udk_option_clamp_uv = BoolProperty(
bpy.types.Scene.udk_copy_merge = BoolProperty(
name = "Merge Mesh",
- description = "This will copy the mesh(s) and merge the object together and unlink the mesh to be remove while exporting the object.",
+ description = "This will copy the mesh(s) and merge the object together and unlink the mesh to be remove while exporting the object",
default = False)
bpy.types.Scene.udk_option_export = EnumProperty(
@@ -1941,27 +1941,27 @@ bpy.types.Scene.udk_option_triangulate = BoolProperty(
bpy.types.Scene.udk_option_selectanimations = BoolProperty(
name = "Select Animation(s)",
- description = "Select animation(s) for export to psa file.",
+ description = "Select animation(s) for export to psa file",
default = False)
bpy.types.Scene.udk_option_selectobjects = BoolProperty(
name = "Select Object(s)",
- description = "Select Armature and Mesh(s). Just make sure mesh(s) is parent to armature.",
+ description = "Select Armature and Mesh(s). Just make sure mesh(s) is parent to armature",
default = False)
bpy.types.Scene.udk_option_rebuildobjects = BoolProperty(
name = "Rebuild Objects",
- description = "In case of deform skeleton mesh and animations data. This will rebuild objects from raw format on export when checked.",
+ description = "In case of deform skeleton mesh and animations data - This will rebuild objects from raw format on export when checked",
default = False)
bpy.types.Scene.udk_option_ignoreactiongroupnames = BoolProperty(
name = "Ignore Action Group Names",
- description = "This will Ignore Action Set Group Names Check With Armature Bones. It will override armature to set action set.",
+ description = "This will Ignore Action Set Group Names Check With Armature Bones. It will override armature to set action set",
default = False)
bpy.types.Scene.udk_option_scale = FloatProperty(
name = "UDK Scale",
- description = "In case you don't want to scale objects manually. This will just scale position when on export for the skeleton mesh and animation data.",
+ description = "In case you don't want to scale objects manually - This will just scale position when on export for the skeleton mesh and animation data",
default = 1)
#===========================================================================
@@ -2011,7 +2011,7 @@ class OBJECT_OT_UTSelectedFaceSmooth(bpy.types.Operator):
return{'FINISHED'}
class OBJECT_OT_MeshClearWeights(bpy.types.Operator):
- """Remove all mesh vertex groups weights for the bones."""
+ """Remove all mesh vertex groups weights for the bones"""
bl_idname = "object.meshclearweights" # XXX, name???
bl_label = "Remove Vertex Weights"#"Remove Mesh vertex weights"
@@ -2210,7 +2210,7 @@ class UDKActionSetListPG(bpy.types.PropertyGroup):
bool = BoolProperty(default=False)
string = StringProperty()
actionname = StringProperty()
- bmatch = BoolProperty(default=False,name="Match", options={"HIDDEN"},description = "This check against bone names and action group names matches and override boolean if true.")
+ bmatch = BoolProperty(default=False,name="Match", options={"HIDDEN"},description = "This check against bone names and action group names matches and override boolean if true")
bexport = BoolProperty(default=False,name="Export",description = "Check this to export the animation")
bpy.utils.register_class(UDKActionSetListPG)
@@ -2243,8 +2243,8 @@ class UL_UDKObjList(bpy.types.UIList):
class UDKMeshListPG(bpy.types.PropertyGroup):
bool = BoolProperty(default=False)
string = StringProperty()
- bexport = BoolProperty(default=False,name="Export", options={"HIDDEN"},description = "This object will be export when true.")
- bselect = BoolProperty(default=False,name="Select", options={"HIDDEN"},description = "Make sure you have Mesh is parent to Armature.")
+ bexport = BoolProperty(default=False,name="Export", options={"HIDDEN"},description = "This object will be export when true")
+ bselect = BoolProperty(default=False,name="Select", options={"HIDDEN"},description = "Make sure you have Mesh is parent to Armature")
otype = StringProperty(name="Type",description = "This will be ignore when exported")
bpy.utils.register_class(UDKMeshListPG)
@@ -2496,7 +2496,7 @@ def udkcheckmeshline():
class OBJECT_OT_UDKCheckMeshLines(bpy.types.Operator):
"""Select the mesh for export test. This will create dummy mesh to see which area are broken. """ \
- """If the vertices share the same position it will causes an bug."""
+ """If the vertices share the same position it will cause a bug"""
bl_idname = "object.udkcheckmeshline"
bl_label = "Check Mesh Vertices"
@@ -2507,7 +2507,7 @@ class OBJECT_OT_UDKCheckMeshLines(bpy.types.Operator):
class OBJECT_OT_ActionSetAnimUpdate(bpy.types.Operator):
"""Select Armture to match the action set groups. """ \
- """All bones keys must be set to match with number of bones."""
+ """All bones keys must be set to match with number of bones"""
bl_idname = "action.setanimupdate"
bl_label = "Update Action Set(s)"
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index ccf233f..6196ec6 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -326,7 +326,7 @@ class ExportFBX(bpy.types.Operator, ExportHelper):
)
add_leaf_bones = BoolProperty(
name="Add leaf bones",
- description=("Append a last bone to the end of each chain to specify bone length. It is useful to, "
+ description=("Append a last bone to the end of each chain to specify bone length - It is useful to, "
"enable this when exporting into another modelling application and to disable this when"
"exporting into a game engine or real-time viewer"),
default=True # False for commit!
diff --git a/io_scene_ms3d/ms3d_strings.py b/io_scene_ms3d/ms3d_strings.py
index b0fd9b7..3bf755e 100644
--- a/io_scene_ms3d/ms3d_strings.py
+++ b/io_scene_ms3d/ms3d_strings.py
@@ -207,7 +207,7 @@ ms3d_str = {
" (no gimbal-lock filter available!)",
'PROP_NAME_USE_JOINT_SIZE': "Override Joint Size",
'PROP_DESC_USE_JOINT_SIZE': "use value of 'Joint Size', the value of the"\
- " ms3d file is ignored for representation.",
+ " ms3d file is ignored for representation",
'PROP_NAME_IMPORT_JOINT_SIZE': "Joint Size",
'PROP_DESC_IMPORT_JOINT_SIZE': "size of the joint representation in"\
" blender",
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py
index 501221f..c0cb91e 100644
--- a/mesh_bsurfaces.py
+++ b/mesh_bsurfaces.py
@@ -160,40 +160,40 @@ def get_strokes_type(main_object):
class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator):
bl_idname = "gpencil.surfsk_add_surface"
bl_label = "Bsurfaces add surface"
- bl_description = "Generates surfaces from grease pencil strokes, bezier curves or loose edges."
+ bl_description = "Generates surfaces from grease pencil strokes, bezier curves or loose edges"
bl_options = {'REGISTER', 'UNDO'}
edges_U = bpy.props.IntProperty(name = "Cross",
- description = "Number of face-loops crossing the strokes.",
+ description = "Number of face-loops crossing the strokes",
default = 1,
min = 1,
max = 200)
edges_V = bpy.props.IntProperty(name = "Follow",
- description = "Number of face-loops following the strokes.",
+ description = "Number of face-loops following the strokes",
default = 1,
min = 1,
max = 200)
cyclic_cross = bpy.props.BoolProperty(name = "Cyclic Cross",
- description = "Make cyclic the face-loops crossing the strokes.",
+ description = "Make cyclic the face-loops crossing the strokes",
default = False)
cyclic_follow = bpy.props.BoolProperty(name = "Cyclic Follow",
- description = "Make cyclic the face-loops following the strokes.",
+ description = "Make cyclic the face-loops following the strokes",
default = False)
loops_on_strokes = bpy.props.BoolProperty(name = "Loops on strokes",
- desc
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-extensions-cvs
mailing list