Fix T40271: Missing redraw for bone editing bone roll

We should have a new notifier for this
This commit is contained in:
Campbell Barton
2014-05-20 16:18:53 +10:00
parent f6e774552c
commit e2a9923a6b

View File

@@ -405,7 +405,7 @@ static int armature_calc_roll_exec(bContext *C, wmOperator *op)
}
/* note, notifier might evolve */
WM_event_add_notifier(C, NC_OBJECT | ND_POSE, ob);
WM_event_add_notifier(C, NC_OBJECT | ND_BONE_SELECT, ob);
return OPERATOR_FINISHED;
}
@@ -1136,7 +1136,7 @@ static int armature_align_bones_exec(bContext *C, wmOperator *op)
}
/* note, notifier might evolve */
WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, ob);
WM_event_add_notifier(C, NC_OBJECT | ND_BONE_SELECT, ob);
return OPERATOR_FINISHED;
}