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
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-10 07:05:08 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-10 07:05:08 +0400
commit489e9cb7881ccf70153b125d34e148b96497ef8d (patch)
tree599153c304a8c8fdcb26bf4e4e6c0260f0a37e50 /source
parent8a89515393612acf03be3f8f667a9cb225338ed4 (diff)
Fix part of #31080: missing UV editor redraw after edge slide with correct UVs.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/transform/transform.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 1334db63865..896a2d3b66e 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -526,6 +526,10 @@ static void viewRedrawPost(bContext *C, TransInfo *t)
/* if autokeying is enabled, send notifiers that keyframes were added */
if (IS_AUTOKEY_ON(t->scene))
WM_main_add_notifier(NC_ANIMATION | ND_KEYFRAME | NA_EDITED, NULL);
+
+ /* redraw UV editor */
+ if (t->mode == TFM_EDGE_SLIDE && (t->settings->uvcalc_flag & UVCALC_TRANSFORM_CORRECT))
+ WM_event_add_notifier(C, NC_GEOM | ND_DATA, NULL);
/* XXX temp, first hack to get auto-render in compositor work (ton) */
WM_event_add_notifier(C, NC_SCENE | ND_TRANSFORM_DONE, CTX_data_scene(C));