[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44896] trunk/blender: Un-abbreviate ' use_space_atten' (Brush RNA) to 'use_space_attenuation'.
Nicholas Bishop
nicholasbishop at gmail.com
Thu Mar 15 07:40:02 CET 2012
Revision: 44896
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44896
Author: nicholasbishop
Date: 2012-03-15 06:39:54 +0000 (Thu, 15 Mar 2012)
Log Message:
-----------
Un-abbreviate 'use_space_atten' (Brush RNA) to 'use_space_attenuation'.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
trunk/blender/source/blender/makesrna/intern/rna_brush.c
Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 2012-03-15 06:08:27 UTC (rev 44895)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 2012-03-15 06:39:54 UTC (rev 44896)
@@ -525,10 +525,10 @@
row = col.row(align=True)
if brush.use_space and tool != 'SMOOTH':
- if brush.use_space_atten:
- row.prop(brush, "use_space_atten", toggle=True, text="", icon='LOCKED')
+ if brush.use_space_attenuation:
+ row.prop(brush, "use_space_attenuation", toggle=True, text="", icon='LOCKED')
else:
- row.prop(brush, "use_space_atten", toggle=True, text="", icon='UNLOCKED')
+ row.prop(brush, "use_space_attenuation", toggle=True, text="", icon='UNLOCKED')
self.prop_unified_strength(row, context, brush, "strength", text="Strength")
self.prop_unified_strength(row, context, brush, "use_pressure_strength")
@@ -876,7 +876,7 @@
row.active = brush.use_space
row.prop(brush, "spacing", text="Spacing")
- #col.prop(brush, "use_space_atten", text="Adaptive Strength")
+ #col.prop(brush, "use_space_attenuation", text="Adaptive Strength")
#col.prop(brush, "use_adaptive_space", text="Adaptive Spacing")
#col.separator()
Modified: trunk/blender/source/blender/makesrna/intern/rna_brush.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_brush.c 2012-03-15 06:08:27 UTC (rev 44895)
+++ trunk/blender/source/blender/makesrna/intern/rna_brush.c 2012-03-15 06:39:54 UTC (rev 44896)
@@ -578,7 +578,7 @@
RNA_def_property_ui_text(prop, "Accumulate", "Accumulate stroke daubs on top of each other");
RNA_def_property_update(prop, 0, "rna_Brush_update");
- prop = RNA_def_property(srna, "use_space_atten", PROP_BOOLEAN, PROP_NONE);
+ prop = RNA_def_property(srna, "use_space_attenuation", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_SPACE_ATTEN);
RNA_def_property_ui_text(prop, "Use Automatic Strength Adjustment", "Automatically adjust strength to give consistent results for different spacings");
RNA_def_property_update(prop, 0, "rna_Brush_update");
More information about the Bf-blender-cvs
mailing list