[Bf-blender-cvs] [6baccc36a02] master: Fix continuous stream of thumbnail notifiers after redo

Julian Eisel noreply at git.blender.org
Thu Jan 20 18:52:03 CET 2022


Commit: 6baccc36a02ec602b954bb4d2a1646725b40e0bf
Author: Julian Eisel
Date:   Thu Jan 20 18:32:41 2022 +0100
Branches: master
https://developer.blender.org/rB6baccc36a02ec602b954bb4d2a1646725b40e0bf

Fix continuous stream of thumbnail notifiers after redo

This fixes a similar issue as the previous commit, but this time the
continuous notifiers would be sent after redoing. E.g. after moving an
object, and then modifying the transform in the "Adjust Last Operation"
panel.

===================================================================

M	source/blender/blenloader/intern/readfile.c

===================================================================

diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index f325cec31fd..38f2d8bb22c 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2544,7 +2544,6 @@ static void lib_link_workspace_layout_restore(struct IDNameLib_Map *id_map,
         else if (sl->spacetype == SPACE_FILE) {
           SpaceFile *sfile = (SpaceFile *)sl;
           sfile->op = NULL;
-          sfile->previews_timer = NULL;
           sfile->tags = FILE_TAG_REBUILD_MAIN_FILES;
         }
         else if (sl->spacetype == SPACE_ACTION) {



More information about the Bf-blender-cvs mailing list