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/space_nla/space_nla.c | |
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/space_nla/space_nla.c')
-rw-r--r-- | source/blender/editors/space_nla/space_nla.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/space_nla.c b/source/blender/editors/space_nla/space_nla.c index b384a30de56..f3001d4a258 100644 --- a/source/blender/editors/space_nla/space_nla.c +++ b/source/blender/editors/space_nla/space_nla.c @@ -491,7 +491,8 @@ static void nla_listener(ScrArea *sa, wmNotifier *wmn) ED_area_tag_refresh(sa); break; }*/ - ED_area_tag_refresh(sa); + if (wmn->data != ND_VIEW3D_TRANSFORM) + ED_area_tag_refresh(sa); break; case NC_SPACE: if(wmn->data == ND_SPACE_NLA) |