diff options
author | Julian Eisel <julian@blender.org> | 2020-06-17 21:21:15 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-06-19 21:06:37 +0300 |
commit | e15f85f23dd33a91a9a386c23cbc80ecea3f9ac1 (patch) | |
tree | d05805b30eb7ec63bf5996af5b43c5eb1f2a9222 /source/blender/editors/screen/screen_ops.c | |
parent | ce7a5a23767c2f628a69496590b415318f7eb89f (diff) |
UI: Avoid rebuilding outliner tree when changing area size
In big files, ie typical production files, resizing the outliner area would be
very slow. The outliner tree would be rebuilt then, which can easily be avoided.
Diffstat (limited to 'source/blender/editors/screen/screen_ops.c')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 1d03b277549..37a8880e7a1 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -1761,7 +1761,7 @@ static void area_move_apply_do(const bContext *C, screen->do_refresh = true; redraw_all = true; } - ED_area_tag_redraw(area); + ED_area_tag_redraw_no_rebuild(area); } } if (redraw_all) { |