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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user