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:
authorThomas Dinges <blender@dingto.org>2011-02-27 17:01:09 +0300
committerThomas Dinges <blender@dingto.org>2011-02-27 17:01:09 +0300
commit4ab33ae8592ab58425c4ca87e2dd7fc520bc6bbf (patch)
tree257800a0e9ee103627b0baef5af48e536cab2505 /source/blender/editors/transform
parentb51fb0065404568b1880f3514e11687a496e0b39 (diff)
2.5 Transform Operator:
* Added a NC_OBJECT|ND_TRANSFORM notifier to it, so we get a refresh when using the operator from python console. Issue reported by calli in IRC.
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c
index e1dd0191c0d..2673c24f9a9 100644
--- a/source/blender/editors/transform/transform_ops.c
+++ b/source/blender/editors/transform/transform_ops.c
@@ -369,6 +369,8 @@ static int transform_exec(bContext *C, wmOperator *op)
transformEnd(C, t);
transformops_exit(C, op);
+
+ WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL);
return OPERATOR_FINISHED;
}