diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-12 23:18:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-12 23:18:02 +0400 |
commit | cffaa42d3a34c6b310c3c87c98e1f8313881e473 (patch) | |
tree | d551c6e2f82c44cda01936ead06e2ef7fd490ef1 /source/blender/blenkernel/intern/depsgraph.c | |
parent | d4258c4ad6aed3c57073bd532ef91f74181ed27e (diff) |
style cleanup: blenkernel
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r-- | source/blender/blenkernel/intern/depsgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c index fc54ea6eed5..c6f46a7309b 100644 --- a/source/blender/blenkernel/intern/depsgraph.c +++ b/source/blender/blenkernel/intern/depsgraph.c @@ -2385,7 +2385,7 @@ static void dag_current_scene_layers(Main *bmain, Scene **sce, unsigned int *lay /* if we have a windowmanager, look into windows */ for (win = wm->windows.first; win; win = win->next) { if (win->screen) { - if (!*sce) *sce = win->screen->scene; + if (*sce == NULL) *sce = win->screen->scene; *lay |= BKE_screen_visible_layers(win->screen, win->screen->scene); } } |