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:43:55 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2009-08-20 20:43:55 +0400
commitec6b14bb073fdd207b9cd2f93c8db4a8cfd9aaf3 (patch)
treeb8fa45b3aa0454bddd979438ff26a96abd8ef1c8 /source/blender/editors/sculpt_paint/paint_image.c
parent4df4b17ed65331b39d77c319f98b7114c0f2ead0 (diff)
2.5 texture paint:
* Little bugfix, was passing an invalid pointer
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c
index 8a8041abbff..2dcd7a64947 100644
--- a/source/blender/editors/sculpt_paint/paint_image.c
+++ b/source/blender/editors/sculpt_paint/paint_image.c
@@ -5174,7 +5174,7 @@ static int texture_paint_toggle_exec(bContext *C, wmOperator *op)
me->mtface= CustomData_add_layer(&me->fdata, CD_MTFACE, CD_DEFAULT,
NULL, me->totface);
- paint_init(&scene->toolsettings->imapaint.paint, NULL);
+ paint_init(&scene->toolsettings->imapaint.paint, PAINT_CURSOR_TEXTURE_PAINT);
if(U.glreslimit != 0)
GPU_free_images();