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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-05-31 19:23:20 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-31 19:23:20 +0300
commitcfea9c261c2349e03c5ce38a04659479901ce815 (patch)
tree69a9e23450ee3d2d89eddf0dc70208f6ec3c3281 /source/blender/editors/sculpt_paint/paint_image.c
parentda11e33b26b6579ef36c97de1b6fbc0eb02a0b69 (diff)
Cleanup: Remove G.main from some editor files.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c
index cb6dba4772f..ef4f598a6b7 100644
--- a/source/blender/editors/sculpt_paint/paint_image.c
+++ b/source/blender/editors/sculpt_paint/paint_image.c
@@ -1077,7 +1077,7 @@ static int texture_paint_toggle_exec(bContext *C, wmOperator *op)
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);
}
}
}