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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-26 12:52:07 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-26 12:52:07 +0400
commitc91562d0ff964a73bf290c20a93e3ba738573e5b (patch)
treeba2f2c4b6dea380f5b2b748d37fc562417b04376 /source/blender/editors/space_outliner/space_outliner.c
parent42c54bcd9362922bed70d596568c7495fa6334bb (diff)
Fix #33310: unnecessary redraw of outliner when editing materials and textures.
Diffstat (limited to 'source/blender/editors/space_outliner/space_outliner.c')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index f8856cb9646..ecc09a35670 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -326,15 +326,11 @@ static void outliner_main_area_listener(ARegion *ar, wmNotifier *wmn)
break;
case NC_MATERIAL:
switch (wmn->data) {
- case ND_SHADING:
- case ND_SHADING_DRAW:
+ case ND_SHADING_LINKS:
ED_region_tag_redraw(ar);
break;
}
break;
- case NC_TEXTURE:
- ED_region_tag_redraw(ar);
- break;
case NC_GEOM:
switch (wmn->data) {
case ND_VERTEX_GROUP: