Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2010-07-27 20:09:02 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2010-07-27 20:09:02 +0400
commit88dcfbaee9be4a08104efc2f4edd20dd8e7957fe (patch)
tree22670033fd0118e29e4293911ac231b34b784321 /release
parent78e5a299900233aa8779f87947edb9f37f9336bf (diff)
== Sculpt ==
Added a brush reset operator so that a user won't need to reload the default blend to get back default brush settings * New brush.reset operator, resets a brush based on the currently-selected tool * Added UI button in the tools panel TODO: * Only resets sculpt brushes right now, other paint modes should be added * Sculpt polish tool exists only as a Brush, not as a tool; I'd suggest we make it a tool so it can be reset to defaults too
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/space_view3d_toolbar.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/ui/space_view3d_toolbar.py b/release/scripts/ui/space_view3d_toolbar.py
index 0f5f8e3742c..3d138d906af 100644
--- a/release/scripts/ui/space_view3d_toolbar.py
+++ b/release/scripts/ui/space_view3d_toolbar.py
@@ -859,6 +859,7 @@ class VIEW3D_PT_tools_brush_tool(PaintPanel):
if context.sculpt_object:
col.prop(brush, "sculpt_tool", expand=False, text="")
+ col.operator("brush.reset")
elif context.texture_paint_object:
col.prop(brush, "imagepaint_tool", expand=False, text="")
elif context.vertex_paint_object or context.weight_paint_object: