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:
authorCampbell Barton <ideasman42@gmail.com>2010-12-20 08:26:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-20 08:26:25 +0300
commit8e80ada09ae2394fabb57b3c16efddbd6f16c20d (patch)
tree3760e0a729db4dacdbd1c1d3f1d8cd4d78e11758 /source/blender/editors/space_image/space_image.c
parent3bed4cbf2b4c09dcb62197b8a8c4ec4224abc8b7 (diff)
bugfix [#25238] Render image window edits UV's
Diffstat (limited to 'source/blender/editors/space_image/space_image.c')
-rw-r--r--source/blender/editors/space_image/space_image.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c
index 58ae3d0df87..8b8772c6e28 100644
--- a/source/blender/editors/space_image/space_image.c
+++ b/source/blender/editors/space_image/space_image.c
@@ -265,11 +265,9 @@ int ED_space_image_show_paint(SpaceImage *sima)
int ED_space_image_show_uvedit(SpaceImage *sima, Object *obedit)
{
- if(ED_space_image_show_render(sima))
- return 0;
- if(ED_space_image_show_paint(sima))
+ if(sima && (ED_space_image_show_render(sima) || ED_space_image_show_paint(sima)))
return 0;
-
+
if(obedit && obedit->type == OB_MESH) {
EditMesh *em = BKE_mesh_get_editmesh(obedit->data);
int ret;