diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-05 19:31:04 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-06 10:58:09 +0300 |
commit | 2819b609339b907421dc25c00223950ccee381ab (patch) | |
tree | f2987e81d16d7772cdb1da404d7183fb69b4e810 /source/blender/windowmanager/intern/wm_files.c | |
parent | 0afa9d6ae650e10397b8e94e84ddd0fa764b7565 (diff) |
Fix T63035: Undoing in pose mode destroys the entire pose
Respect do_time flag in on_visible_update, matching behavior of old
dependency graph and avoids unwanted animation updates.
Reviewers: brecht
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5026
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 26130e8c3bd..f3aa5a1b6ca 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -557,8 +557,7 @@ static void wm_file_read_post(bContext *C, /* After load post, so for example the driver namespace can be filled * before evaluating the depsgraph. */ - DEG_on_visible_update(bmain, true); - wm_event_do_depsgraph(C); + wm_event_do_depsgraph(C, true); ED_editors_init(C); |