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.

This commit is contained in:
2010-01-24 04:26:01 +00:00
parent 27db00bf18
commit 351d239ac7
8 changed files with 14 additions and 3 deletions

View File

@@ -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))