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
path: root/source
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-11-25 21:30:57 +0300
committerAntony Riakiotakis <kalast@gmail.com>2014-11-25 21:30:57 +0300
commit3f92bc76fd73b0fd647f581d9dc8519adca22767 (patch)
tree21c312c1c359f5a75924a2bcb4281140063bae6f /source
parent9f64a86436838729edea3c1ab905158032d64b4c (diff)
Make sure world redraws correctly when we tweak the world properties
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/space_view3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index b3accb431ee..81f926e5048 100644
--- a/source/blender/editors/space_view3d/space_view3d.c
+++ b/source/blender/editors/space_view3d/space_view3d.c
@@ -1168,7 +1168,7 @@ static void space_view3d_listener(bScreen *UNUSED(sc), ScrArea *sa, struct wmNot
case NC_WORLD:
switch (wmn->data) {
case ND_WORLD_DRAW:
- if (v3d->flag2 & V3D_RENDER_OVERRIDE)
+ if (v3d->flag3 & V3D_SHOW_WORLD)
ED_area_tag_redraw_regiontype(sa, RGN_TYPE_WINDOW);
break;
}