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>2010-04-06 20:53:48 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-04-06 20:53:48 +0400
commitbe6d0ca63b823ea93f183e31dbda9bc2cdd6af6a (patch)
treec32de0c48ccd7353055388985fe135362f4eb185 /source/blender/editors/space_buttons/space_buttons.c
parent7b4536b3a9b82b24ebd0a5a7dc5f9721e07672ba (diff)
Fix #21166: changing image file path does not update texture preview. I've
made it regenerate previews and icons now for this case. Depsgraph for all datablocks could solve this much nicer..
Diffstat (limited to 'source/blender/editors/space_buttons/space_buttons.c')
-rw-r--r--source/blender/editors/space_buttons/space_buttons.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c
index 352f5131903..06a574d2e83 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -341,6 +341,7 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
sbuts->preview= 1;
break;
case NC_TEXTURE:
+ case NC_IMAGE:
ED_area_tag_redraw(sa);
sbuts->preview= 1;
break;