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>2009-08-20 20:00:17 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2009-08-20 20:00:17 +0400
commit4df4b17ed65331b39d77c319f98b7114c0f2ead0 (patch)
treeafcdda9a724fc139495c3d55660c394311cda0fa /source/blender/editors/sculpt_paint/sculpt.c
parentff27281f2e235ca5c7b776b390f0deb00799c97a (diff)
2.5 Paint:
* Weight paint and vertex paint now use the same cursor setup as sculpt
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index e0206210799..76c5c3504da 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1549,8 +1549,6 @@ static int sculpt_toggle_mode(bContext *C, wmOperator *op)
free_sculptsession(&ob->sculpt);
}
else {
- const char col[3] = {255, 100, 100};
-
/* Enter sculptmode */
ob->mode |= OB_MODE_SCULPT;
@@ -1564,7 +1562,7 @@ static int sculpt_toggle_mode(bContext *C, wmOperator *op)
free_sculptsession(&ob->sculpt);
ob->sculpt = MEM_callocN(sizeof(SculptSession), "sculpt session");
- paint_init(&ts->sculpt->paint, col);
+ paint_init(&ts->sculpt->paint, PAINT_CURSOR_SCULPT);
paint_cursor_start(C, sculpt_poll);