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:
authorAntony Riakiotakis <kalast@gmail.com>2015-07-29 13:52:03 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-07-29 13:52:03 +0300
commit8b84c5f9de32e42e835a15aa1ef05504d0a4c198 (patch)
treec2f9253aee1185379cee3909a2487c7f851c9ac2 /source/blender/blenloader
parent18c0a15e1ebaa94177b848a2dc6ccc96a38dc5ed (diff)
Port optimization from gooseberry branch:
Treat scrubbing as animation. This is checked during various updates to avoid some costly calculations.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 90aafa9f3ee..541b4015a1b 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5948,6 +5948,7 @@ static void lib_link_screen(FileData *fd, Main *main)
sc->scene = main->scene.first;
sc->animtimer = NULL; /* saved in rare cases */
+ sc->scrubbing = false;
for (sa = sc->areabase.first; sa; sa = sa->next) {
SpaceLink *sl;