2.5 texture paint:

* Little bugfix, was passing an invalid pointer
This commit is contained in:
Nicholas Bishop 2009-08-20 16:43:55 +00:00
parent 4df4b17ed6
commit ec6b14bb07

@ -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, me->mtface= CustomData_add_layer(&me->fdata, CD_MTFACE, CD_DEFAULT,
NULL, me->totface); NULL, me->totface);
paint_init(&scene->toolsettings->imapaint.paint, NULL); paint_init(&scene->toolsettings->imapaint.paint, PAINT_CURSOR_TEXTURE_PAINT);
if(U.glreslimit != 0) if(U.glreslimit != 0)
GPU_free_images(); GPU_free_images();