diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-08-20 09:13:07 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2009-08-20 09:13:07 +0400 |
commit | 7dfc1317acc63aea67d4ebd5db8d64c5bef4b8c8 (patch) | |
tree | 237369f278ba522425356ccf1b2082c911493582 /source/blender/editors/sculpt_paint/paint_ops.c | |
parent | 2878eed1c125d07bcfc893eb04d1307c6aa19e3a (diff) |
2.5/Paint:
* Converted vertex paint to use the new stroke system. Now supports the same smooth stroke and stroke spacing as sculpt mode.
* Refactored the paint cursor a bit, just sculpt for now but other modes soon.
* A couple warning fixes
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_ops.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_ops.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index 63a6591d057..1ea612c0aa5 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -77,12 +77,6 @@ void BRUSH_OT_add(wmOperatorType *ot) RNA_def_enum(ot->srna, "type", brush_type_items, OB_MODE_VERTEX_PAINT, "Type", "Which paint mode to create the brush for."); } -/* Paint operators */ -static int paint_poll(bContext *C) -{ - return !!paint_get_active(CTX_data_scene(C)); -} - /**************************** registration **********************************/ void ED_operatortypes_paint(void) |