From d7ddb941a07b806decc867bf58e3ec84d2ec1d41 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Mon, 22 Sep 2014 11:01:50 +0200 Subject: Projective painting: * Make clone UI a bit more descriptive * Don't set images to image editors that have a pinned image. --- source/blender/makesrna/intern/rna_sculpt_paint.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c') diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index d48d8589f96..b5b938ca2db 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -324,7 +324,9 @@ static void rna_ImaPaint_canvas_update(Main *bmain, Scene *scene, PointerRNA *UN for (sl = sa->spacedata.first; sl; sl = sl->next) { if (sl->spacetype == SPACE_IMAGE) { SpaceImage *sima = (SpaceImage *)sl; - ED_space_image_set(sima, scene, scene->obedit, ima); + + if (!sima->pin) + ED_space_image_set(sima, scene, scene->obedit, ima); } } } -- cgit v1.2.3