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>2015-11-10 14:07:45 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-11-10 14:07:45 +0300
commit2391d5041b3ff02967d487611b6c1afafc211e8e (patch)
treeb9d7b885caee641ffb23104e782726a2ccb6a4fc
parentcbda8c112967fb3b812a601edc2b036a5cc6e134 (diff)
Moar style & UI messages cleanup...
-rw-r--r--io_anim_bvh/__init__.py22
-rw-r--r--io_anim_bvh/import_bvh.py2
2 files changed, 11 insertions, 13 deletions
diff --git a/io_anim_bvh/__init__.py b/io_anim_bvh/__init__.py
index 5ecd9026..27c8003b 100644
--- a/io_anim_bvh/__init__.py
+++ b/io_anim_bvh/__init__.py
@@ -87,21 +87,19 @@ class ImportBVH(bpy.types.Operator, ImportHelper, ImportBVHOrientationHelper):
)
use_fps_scale = BoolProperty(
name="Scale FPS",
- description=("Scale the framerate from the BVH to "
- "the current scenes, otherwise each "
- "BVH frame maps directly to a Blender frame"),
+ description=("Scale the framerate from the BVH to the current scenes, "
+ "otherwise each BVH frame maps directly to a Blender frame"),
default=False,
)
update_scene_fps = BoolProperty(
- name="Update scene framerate",
- description="Sets the scene framerate to that of the BVH file. Note that this "
- "nullifies the 'Scale FPS' option, as the scale will be 1:1",
+ name="Update Scene FPS",
+ description="Set the scene framerate to that of the BVH file (note that this "
+ "nullifies the 'Scale FPS' option, as the scale will be 1:1)",
default=False
)
update_scene_duration = BoolProperty(
- name="Update scene duration",
- description="Extend the scene's duration to the BVH duration. Does not shorten scene "
- "when the BVH fits in its entirety",
+ name="Update Scene Duration",
+ description="Extend the scene's duration to the BVH duration (never shortens the scene)",
default=False,
)
use_cyclic = BoolProperty(
@@ -114,8 +112,8 @@ class ImportBVH(bpy.types.Operator, ImportHelper, ImportBVHOrientationHelper):
description="Rotation conversion",
items=(('QUATERNION', "Quaternion",
"Convert rotations to quaternions"),
- ('NATIVE', "Euler (Native)", ("Use the rotation order "
- "defined in the BVH file")),
+ ('NATIVE', "Euler (Native)",
+ "Use the rotation order defined in the BVH file"),
('XYZ', "Euler (XYZ)", "Convert rotations to euler XYZ"),
('XZY', "Euler (XZY)", "Convert rotations to euler XZY"),
('YXZ', "Euler (YXZ)", "Convert rotations to euler YXZ"),
@@ -174,7 +172,7 @@ class ExportBVH(bpy.types.Operator, ExportHelper):
name="Rotation",
description="Rotation conversion",
items=(('NATIVE', "Euler (Native)",
- "Use the rotation order defined in the BVH file"),
+ "Use the rotation order defined in the BVH file"),
('XYZ', "Euler (XYZ)", "Convert rotations to euler XYZ"),
('XZY', "Euler (XZY)", "Convert rotations to euler XZY"),
('YXZ', "Euler (YXZ)", "Convert rotations to euler YXZ"),
diff --git a/io_anim_bvh/import_bvh.py b/io_anim_bvh/import_bvh.py
index 7549c1fd..df733a73 100644
--- a/io_anim_bvh/import_bvh.py
+++ b/io_anim_bvh/import_bvh.py
@@ -637,7 +637,7 @@ def load(context,
# Broken BVH handling: guess frame rate when it is not contained in the file.
if bvh_frame_time is None:
- report({'WARNING'}, "The BVH file did not contain frame duration in its MOTION "
+ report({'WARNING'}, "The BVH file does not contain frame duration in its MOTION "
"section, assuming the BVH and Blender scene have the same "
"frame rate")
bvh_frame_time = scene.render.fps_base / scene.render.fps