diff options
author | Joseph Eagar <joeedh@gmail.com> | 2010-01-24 07:26:01 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2010-01-24 07:26:01 +0300 |
commit | 351d239ac7cdc028549ae84f2ff1acd594570a07 (patch) | |
tree | d9f1c9bddaa75c3fdfaf4006163f95a1d56d3919 /source/blender/editors/transform | |
parent | 27db00bf1888770015ccbdbc8648540d21327603 (diff) |
View3d transform was sending a too-general notifier to redraw, causing several animation editors and the property editor to redraw too, which can really slow things down. added a more specific ND_VIEW3D_TRANSFORM notifier to solve this.
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 864c816a8f4..5ace57e36d8 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -302,7 +302,7 @@ static void viewRedrawForce(bContext *C, TransInfo *t) if (t->spacetype == SPACE_VIEW3D) { /* Do we need more refined tags? */ - WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL); + WM_event_add_notifier(C, NC_OBJECT|ND_VIEW3D_TRANSFORM, NULL); /* for realtime animation record - send notifiers recognised by animation editors */ if ((t->animtimer) && IS_AUTOKEY_ON(t->scene)) |