Un-abbreviate 'use_space_atten' (Brush RNA) to 'use_space_attenuation'.
This commit is contained in:
@@ -525,10 +525,10 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel):
|
||||
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 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel):
|
||||
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()
|
||||
|
||||
@@ -578,7 +578,7 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user