Fix world not updating when changing node links

When changing node links for the world material, a redraw of the
viewport was not being triggered.
This commit is contained in:
Luca Rood
2017-06-29 12:24:05 +02:00
parent 7dc9e42721
commit db71df4f3f

View File

@@ -1016,6 +1016,10 @@ static void view3d_main_region_listener(
case ND_WORLD_DRAW:
/* handled by space_view3d_listener() for v3d access */
break;
case ND_WORLD:
/* Needed for updating world materials */
ED_region_tag_redraw(ar);
break;
}
break;
case NC_LAMP: