diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-31 19:23:20 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-31 19:23:20 +0300 |
commit | cfea9c261c2349e03c5ce38a04659479901ce815 (patch) | |
tree | 69a9e23450ee3d2d89eddf0dc70208f6ec3c3281 /source/blender/makesrna/intern/rna_sculpt_paint.c | |
parent | da11e33b26b6579ef36c97de1b6fbc0eb02a0b69 (diff) |
Cleanup: Remove G.main from some editor files.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 6dbfc3634b2..140349ac003 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -388,7 +388,7 @@ static void rna_ImaPaint_canvas_update(Main *bmain, Scene *scene, PointerRNA *UN SpaceImage *sima = (SpaceImage *)sl; if (!sima->pin) - ED_space_image_set(sima, scene, scene->obedit, ima); + ED_space_image_set(bmain, sima, scene, scene->obedit, ima); } } } |