From 092d9c31a14d44ea440fcab657e61827ace14875 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 25 May 2013 11:52:52 +0000 Subject: Bug fix, irc submitted: 3D Viewport render (internal) didn't render bump maps (it was black even). --- source/blender/editors/sculpt_paint/sculpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index ee10adbf7db..13049aa5536 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -4935,7 +4935,7 @@ static int sculpt_toggle_mode(bContext *C, wmOperator *UNUSED(op)) BKE_paint_init(&ts->sculpt->paint, PAINT_CURSOR_SCULPT); - paint_cursor_start(C, sculpt_poll); + paint_cursor_start(C, sculpt_mode_poll_view3d); } WM_event_add_notifier(C, NC_SCENE | ND_MODE, scene); -- cgit v1.2.3