diff options
author | Rob Haarsma <phaseIV@zonnet.nl> | 2004-01-13 17:50:45 +0300 |
---|---|---|
committer | Rob Haarsma <phaseIV@zonnet.nl> | 2004-01-13 17:50:45 +0300 |
commit | 4a8f52f61983f33714cdd57d0064a4df208357b1 (patch) | |
tree | 96677fd6134ae92074fca3f43ea64f32ca39b820 /source/blender/src/drawscene.c | |
parent | d74da9789a2124f1a8a3cf6f8f9070b127dff73d (diff) |
Converted the Userpreference buttons to zr's new ButBit calls.
Also added USER_* to each define located in DNA_userdef.h.
Diffstat (limited to 'source/blender/src/drawscene.c')
-rw-r--r-- | source/blender/src/drawscene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawscene.c b/source/blender/src/drawscene.c index 06453f6dc0e..4ce38c93c3c 100644 --- a/source/blender/src/drawscene.c +++ b/source/blender/src/drawscene.c @@ -68,7 +68,7 @@ void set_scene(Scene *sce) /* also see scene.c: set_scene_bg() */ sc= G.main->screen.first; while(sc) { - if((U.flag & SCENEGLOBAL) || sc==G.curscreen) { + if((U.flag & USER_SCENEGLOBAL) || sc==G.curscreen) { if(sce != sc->scene) { /* all areas endlocalview */ @@ -89,7 +89,7 @@ void set_scene(Scene *sce) /* also see scene.c: set_scene_bg() */ /* are there cameras in the views that are not in the scene? */ sc= G.main->screen.first; while(sc) { - if( (U.flag & SCENEGLOBAL) || sc==G.curscreen) { + if( (U.flag & USER_SCENEGLOBAL) || sc==G.curscreen) { ScrArea *sa= sc->areabase.first; while(sa) { SpaceLink *sl= sa->spacedata.first; |