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:
authorTon Roosendaal <ton@blender.org>2004-11-14 19:06:24 +0300
committerTon Roosendaal <ton@blender.org>2004-11-14 19:06:24 +0300
commit0444ae2216608f5a0bf103476a8aea2bedb84add (patch)
treeeab242590ccf20990be9c771b05c218bdfc29a91 /source/blender/blenloader
parent18a787f78b4184f471e293b1400fda1c0f69dcaf (diff)
Localview fix of 2 hours ago created dependency with bad level calls...
removed calling function from src/ and added the few lines in readfile.c
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index ae60f05b96c..8d1c663d9c9 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2749,7 +2749,13 @@ void lib_link_screen_restore(Main *newmain, char mode, Scene *curscene)
for(base= sc->scene->base.first; base; base= base->next) {
if(base->lay & v3d->lay) break;
}
- if(base==NULL) endlocalview(sa);
+ if(base==NULL) {
+ v3d->lay= v3d->localvd->lay;
+ v3d->layact= v3d->localvd->layact;
+ MEM_freeN(v3d->localvd);
+ v3d->localvd= NULL;
+ v3d->localview= 0;
+ }
}
else if(v3d->scenelock) v3d->lay= sc->scene->lay;