[Bf-blender-cvs] [3f92bc7] master: Make sure world redraws correctly when we tweak the world properties

Antony Riakiotakis noreply at git.blender.org
Tue Nov 25 19:31:10 CET 2014


Commit: 3f92bc76fd73b0fd647f581d9dc8519adca22767
Author: Antony Riakiotakis
Date:   Tue Nov 25 19:30:57 2014 +0100
Branches: master
https://developer.blender.org/rB3f92bc76fd73b0fd647f581d9dc8519adca22767

Make sure world redraws correctly when we tweak the world properties

===================================================================

M	source/blender/editors/space_view3d/space_view3d.c

===================================================================

diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index b3accb4..81f926e 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;
 			}




More information about the Bf-blender-cvs mailing list