diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-26 21:15:46 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-26 21:15:46 +0300 |
commit | 6086c31fd3c0c008a2fd98314c57d7ffc5405e1d (patch) | |
tree | f593a9261413614e4de27cd55bf0e40dd5b6482e /source/blender/blenloader | |
parent | ce733db5cb6b79c63a3a320c97cc986351b27176 (diff) |
2.5
Brought back 'smooth view'. Took some hours to untangle it all,
code was spread all over, instead of localized in 1 call. Tsk!
Still not perfect, but at least more in control. For the hackers;
check void smooth_view() in view3d_view.c, here all 3d view
stuff should be handled, so it can optionally use animating.
For the users: 'smooth view' now plays at a maximum of 30 hz,
and doesn't block anymore. So even slow animated views remain
responsive if you press many numpad keys.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index cc4a2d800b9..2ef315d6841 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4248,6 +4248,8 @@ static void direct_link_screen(FileData *fd, bScreen *sc) v3d->clipbb= newdataadr(fd, v3d->clipbb); v3d->retopo_view_data= NULL; v3d->properties_storage= NULL; + v3d->sms= NULL; + v3d->smooth_timer= NULL; } else if (sl->spacetype==SPACE_OOPS) { SpaceOops *soops= (SpaceOops*) sl; |