diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-11 12:05:37 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-11 13:15:14 +0300 |
commit | 8055ed2741d1da48f2bf84c75ccb37b54cef1ab8 (patch) | |
tree | c9ec424a22afda1e40bc635280795b6d35d5f9e1 /source/blender/editors/sculpt_paint/sculpt.c | |
parent | 13d238729bed899a9a7e190ba38406846c485230 (diff) |
Cleanup: remove some G.main usages...
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
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 d5bdd4c8b98..bef705a29b1 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -5672,7 +5672,7 @@ void ED_object_sculptmode_enter_ex( } Paint *paint = BKE_paint_get_active_from_paintmode(scene, ePaintSculpt); - BKE_paint_init(scene, ePaintSculpt, PAINT_CURSOR_SCULPT); + BKE_paint_init(bmain, scene, ePaintSculpt, PAINT_CURSOR_SCULPT); paint_cursor_start_explicit(paint, bmain->wm.first, sculpt_poll_view3d); |