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:
authorTon Roosendaal <ton@blender.org>2013-05-25 15:52:52 +0400
committerTon Roosendaal <ton@blender.org>2013-05-25 15:52:52 +0400
commit092d9c31a14d44ea440fcab657e61827ace14875 (patch)
treecea1a46dcbf48e67fd0821ae0909e62a0f728e9e /source/blender/editors/sculpt_paint
parent78c35c7720df877cd4da4baa85a78ee939ac6de0 (diff)
Bug fix, irc submitted:
3D Viewport render (internal) didn't render bump maps (it was black even).
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 1 insertions, 1 deletions
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);