[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41379] branches/soc-2008-mxcurioni: Fix for warnings about period at the end of description strings for
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Sun Oct 30 10:05:48 CET 2011
Revision: 41379
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41379
Author: kjym3
Date: 2011-10-30 09:05:47 +0000 (Sun, 30 Oct 2011)
Log Message:
-----------
Fix for warnings about period at the end of description strings for
RNA operators and properties. No functional changes were made.
Modified Paths:
--------------
branches/soc-2008-mxcurioni/release/scripts/startup/bl_operators/freestyle.py
branches/soc-2008-mxcurioni/source/blender/editors/render/render_shading.c
branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c
branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_main.c
branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_main_api.c
branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_scene.c
Modified: branches/soc-2008-mxcurioni/release/scripts/startup/bl_operators/freestyle.py
===================================================================
--- branches/soc-2008-mxcurioni/release/scripts/startup/bl_operators/freestyle.py 2011-10-30 06:53:25 UTC (rev 41378)
+++ branches/soc-2008-mxcurioni/release/scripts/startup/bl_operators/freestyle.py 2011-10-30 09:05:47 UTC (rev 41379)
@@ -22,15 +22,15 @@
class SCENE_OT_freestyle_fill_range_by_selection(bpy.types.Operator):
- '''Fill the Range Min/Max entries by the min/max distance between selected mesh objects and the source object (either a user-specified object or the active camera).'''
+ '''Fill the Range Min/Max entries by the min/max distance between selected mesh objects and the source object (either a user-specified object or the active camera)'''
bl_idname = "scene.freestyle_fill_range_by_selection"
bl_label = "Fill Range by Selection"
- type = EnumProperty(name="Type", description="Type of the modifier to work on.",
- items=[("COLOR", "Color", "Color modifier type."),
- ("ALPHA", "Alpha", "Alpha modifier type."),
- ("THICKNESS", "Thickness", "Thickness modifier type.")])
- name = StringProperty(name="Name", description="Name of the modifier to work on.")
+ type = EnumProperty(name="Type", description="Type of the modifier to work on",
+ items=[("COLOR", "Color", "Color modifier type"),
+ ("ALPHA", "Alpha", "Alpha modifier type"),
+ ("THICKNESS", "Thickness", "Thickness modifier type")])
+ name = StringProperty(name="Name", description="Name of the modifier to work on")
def execute(self, context):
rl = context.scene.render.layers.active
Modified: branches/soc-2008-mxcurioni/source/blender/editors/render/render_shading.c
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/editors/render/render_shading.c 2011-10-30 06:53:25 UTC (rev 41378)
+++ branches/soc-2008-mxcurioni/source/blender/editors/render/render_shading.c 2011-10-30 09:05:47 UTC (rev 41379)
@@ -594,7 +594,7 @@
/* identifiers */
ot->name= "Add Freestyle Module";
ot->idname= "SCENE_OT_freestyle_module_add";
- ot->description="Add a style module into the list of modules.";
+ ot->description="Add a style module into the list of modules";
/* api callbacks */
ot->exec= freestyle_module_add_exec;
@@ -622,7 +622,7 @@
/* identifiers */
ot->name= "Remove Freestyle Module";
ot->idname= "SCENE_OT_freestyle_module_remove";
- ot->description="Remove the style module from the stack.";
+ ot->description="Remove the style module from the stack";
/* api callbacks */
ot->exec= freestyle_module_remove_exec;
@@ -660,7 +660,7 @@
/* identifiers */
ot->name= "Move Freestyle Module";
ot->idname= "SCENE_OT_freestyle_module_move";
- ot->description="Change the position of the style module within in the list of style modules.";
+ ot->description="Change the position of the style module within in the list of style modules";
/* api callbacks */
ot->exec= freestyle_module_move_exec;
@@ -689,7 +689,7 @@
/* identifiers */
ot->name= "Add Line Set";
ot->idname= "SCENE_OT_freestyle_lineset_add";
- ot->description="Add a line set into the list of line sets.";
+ ot->description="Add a line set into the list of line sets";
/* api callbacks */
ot->exec= freestyle_lineset_add_exec;
@@ -723,7 +723,7 @@
/* identifiers */
ot->name= "Remove Line Set";
ot->idname= "SCENE_OT_freestyle_lineset_remove";
- ot->description="Remove the active line set from the list of line sets.";
+ ot->description="Remove the active line set from the list of line sets";
/* api callbacks */
ot->exec= freestyle_lineset_remove_exec;
@@ -760,7 +760,7 @@
/* identifiers */
ot->name= "Move Line Set";
ot->idname= "SCENE_OT_freestyle_lineset_move";
- ot->description="Change the position of the active line set within the list of line sets.";
+ ot->description="Change the position of the active line set within the list of line sets";
/* api callbacks */
ot->exec= freestyle_lineset_move_exec;
@@ -796,7 +796,7 @@
/* identifiers */
ot->name= "New Line Style";
ot->idname= "SCENE_OT_freestyle_linestyle_new";
- ot->description="Create a new line style, reusable by multiple line sets.";
+ ot->description="Create a new line style, reusable by multiple line sets";
/* api callbacks */
ot->exec= freestyle_linestyle_new_exec;
@@ -831,7 +831,7 @@
/* identifiers */
ot->name= "Add Line Color Modifier";
ot->idname= "SCENE_OT_freestyle_color_modifier_add";
- ot->description = "Add a line color modifier to the line style associated with the active lineset.";
+ ot->description = "Add a line color modifier to the line style associated with the active lineset";
/* api callbacks */
ot->invoke= WM_menu_invoke;
@@ -870,7 +870,7 @@
/* identifiers */
ot->name= "Add Alpha Transparency Modifier";
ot->idname= "SCENE_OT_freestyle_alpha_modifier_add";
- ot->description = "Add an alpha transparency modifier to the line style associated with the active lineset.";
+ ot->description = "Add an alpha transparency modifier to the line style associated with the active lineset";
/* api callbacks */
ot->invoke= WM_menu_invoke;
@@ -909,7 +909,7 @@
/* identifiers */
ot->name= "Add Line Thickness Modifier";
ot->idname= "SCENE_OT_freestyle_thickness_modifier_add";
- ot->description = "Add a line thickness modifier to the line style associated with the active lineset.";
+ ot->description = "Add a line thickness modifier to the line style associated with the active lineset";
/* api callbacks */
ot->invoke= WM_menu_invoke;
@@ -948,7 +948,7 @@
/* identifiers */
ot->name= "Add Stroke Geometry Modifier";
ot->idname= "SCENE_OT_freestyle_geometry_modifier_add";
- ot->description = "Add a stroke geometry modifier to the line style associated with the active lineset.";
+ ot->description = "Add a stroke geometry modifier to the line style associated with the active lineset";
/* api callbacks */
ot->invoke= WM_menu_invoke;
@@ -1014,7 +1014,7 @@
/* identifiers */
ot->name= "Remove Modifier";
ot->idname= "SCENE_OT_freestyle_modifier_remove";
- ot->description="Remove the modifier from the list of modifiers.";
+ ot->description="Remove the modifier from the list of modifiers";
/* api callbacks */
ot->exec= freestyle_modifier_remove_exec;
@@ -1070,7 +1070,7 @@
/* identifiers */
ot->name= "Move Modifier";
ot->idname= "SCENE_OT_freestyle_modifier_move";
- ot->description="Move the modifier within the list of modifiers.";
+ ot->description="Move the modifier within the list of modifiers";
/* api callbacks */
ot->exec= freestyle_modifier_move_exec;
Modified: branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c 2011-10-30 06:53:25 UTC (rev 41378)
+++ branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_linestyle.c 2011-10-30 09:05:47 UTC (rev 41379)
@@ -217,11 +217,11 @@
RNA_def_property_enum_sdna(prop, NULL, "modifier.type");
RNA_def_property_enum_items(prop, modifier_type_items);
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
- RNA_def_property_ui_text(prop, "Modifier Type", "Type of the modifier.");
+ RNA_def_property_ui_text(prop, "Modifier Type", "Type of the modifier");
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
RNA_def_property_string_sdna(prop, NULL, "modifier.name");
- RNA_def_property_ui_text(prop, "Modifier Name", "Name of the modifier.");
+ RNA_def_property_ui_text(prop, "Modifier Name", "Name of the modifier");
RNA_def_property_update(prop, NC_SCENE, NULL);
RNA_def_struct_name_property(srna, prop);
@@ -229,23 +229,23 @@
prop= RNA_def_property(srna, "blend", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "modifier.blend");
RNA_def_property_enum_items(prop, (color) ? color_blend_items : value_blend_items);
- RNA_def_property_ui_text(prop, "Blend", "Specify how the modifier value is blended into the base value.");
+ RNA_def_property_ui_text(prop, "Blend", "Specify how the modifier value is blended into the base value");
RNA_def_property_update(prop, NC_SCENE, NULL);
prop= RNA_def_property(srna, "influence", PROP_FLOAT, PROP_FACTOR);
RNA_def_property_float_sdna(prop, NULL, "modifier.influence");
RNA_def_property_range(prop, 0.0f, 1.0f);
- RNA_def_property_ui_text(prop, "Influence", "Influence factor by which the modifier changes the property.");
+ RNA_def_property_ui_text(prop, "Influence", "Influence factor by which the modifier changes the property");
RNA_def_property_update(prop, NC_SCENE, NULL);
}
prop= RNA_def_property(srna, "use", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "modifier.flags", LS_MODIFIER_ENABLED);
- RNA_def_property_ui_text(prop, "Use", "Enable or disable this modifier during stroke rendering.");
+ RNA_def_property_ui_text(prop, "Use", "Enable or disable this modifier during stroke rendering");
prop= RNA_def_property(srna, "expanded", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "modifier.flags", LS_MODIFIER_EXPANDED);
- RNA_def_property_ui_text(prop, "Expanded", "True if the modifier tab is expanded.");
+ RNA_def_property_ui_text(prop, "Expanded", "True if the modifier tab is expanded");
}
static void rna_def_color_modifier(StructRNA *srna)
@@ -275,18 +275,18 @@
prop= RNA_def_property(srna, "color_ramp", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "color_ramp");
RNA_def_property_struct_type(prop, "ColorRamp");
- RNA_def_property_ui_text(prop, "Color Ramp", "Color ramp used to change line color.");
+ RNA_def_property_ui_text(prop, "Color Ramp", "Color ramp used to change line color");
RNA_def_property_update(prop, NC_SCENE, NULL);
if (range) {
prop= RNA_def_property(srna, "range_min", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "range_min");
- RNA_def_property_ui_text(prop, "Range Min", "Lower bound of the input range the mapping is applied.");
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list