Make sure world redraws correctly when we tweak the world properties

This commit is contained in:
Antony Riakiotakis
2014-11-25 19:30:57 +01:00
parent 9f64a86436
commit 3f92bc76fd

View File

@@ -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;
}