Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/drawscene.c')
-rw-r--r--source/blender/src/drawscene.c4
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;