diff options
author | Ton Roosendaal <ton@blender.org> | 2004-09-18 22:34:50 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-09-18 22:34:50 +0400 |
commit | 34aa59c5c3739e7fd96e0e68558540c0dec285cf (patch) | |
tree | 96f128c0e4152fbb9c566e5d347f607dc4a41dad /source/blender/blenloader | |
parent | e7087aa26b1d0f6abca8732166a33b6e9b8c2c30 (diff) |
- redo now also ctrl+y.
- made undo/redo display of previewrender nice
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index f75af94ea4f..697f281a948 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2569,7 +2569,7 @@ static void lib_link_screen(FileData *fd, Main *main) if(v3d->bgpic) { v3d->bgpic->ima= newlibadr_us(fd, sc->id.lib, v3d->bgpic->ima); v3d->bgpic->tex= newlibadr_us(fd, sc->id.lib, v3d->bgpic->tex); - v3d->bgpic->rect= 0; + v3d->bgpic->rect= NULL; } if(v3d->localvd) { v3d->localvd->camera= newlibadr(fd, sc->id.lib, v3d->localvd->camera); @@ -2712,8 +2712,7 @@ void lib_link_screen_restore(Main *newmain, char mode, Scene *curscene) else if(sl->spacetype==SPACE_BUTS) { SpaceButs *sbuts= (SpaceButs *)sl; sbuts->lockpoin= NULL; - if(sbuts->rect) MEM_freeN(sbuts->rect); - sbuts->rect= NULL; + sbuts->cury= 0; // we leave rect, for nicer redraws } else if(sl->spacetype==SPACE_FILE) { SpaceFile *sfile= (SpaceFile *)sl; |