Fixing error introduced in commit 25428.
authorThomas Dinges <blender@dingto.org>
Sat, 19 Dec 2009 16:55:04 +0000 (16:55 +0000)
committerThomas Dinges <blender@dingto.org>
Sat, 19 Dec 2009 16:55:04 +0000 (16:55 +0000)
* Preview Render didn't update in the world tab, when changing settings.

source/blender/editors/space_buttons/space_buttons.c

index f47a87921458afb3d5698ae585a53fb030b2b387..b1940264d80b7e5392b1f3f297cf323dbd0256ab 100644 (file)
@@ -328,6 +328,7 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
                        break;
                case NC_WORLD:
                        buttons_area_redraw(sa, BCONTEXT_WORLD);
+                       sbuts->preview= 1;
                        break;
                case NC_LAMP:
                        buttons_area_redraw(sa, BCONTEXT_DATA);