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:
authorJulian Eisel <julian@blender.org>2020-06-17 21:21:15 +0300
committerJulian Eisel <julian@blender.org>2020-06-19 21:06:37 +0300
commite15f85f23dd33a91a9a386c23cbc80ecea3f9ac1 (patch)
treed05805b30eb7ec63bf5996af5b43c5eb1f2a9222 /source/blender/editors/screen/screen_ops.c
parentce7a5a23767c2f628a69496590b415318f7eb89f (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.c2
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) {