Fix: Fire notifiers on pose properties changed
While testing UI_OT_reset_default_button, discovered that using Reset to Default Values on bone locations didn't work. Turns out to be missing update on this property. So, this is probably dependent on the property used.
This commit is contained in:
parent
a73c02a17b
commit
d9c5a35587
|
@ -132,6 +132,8 @@ static void rna_Pose_IK_update(Main *UNUSED(bmain), Scene *UNUSED(scene), Pointe
|
|||
Object *ob = ptr->id.data;
|
||||
|
||||
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
|
||||
WM_main_add_notifier(NC_OBJECT | ND_POSE, ptr->id.data);
|
||||
|
||||
BIK_clear_data(ob->pose);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue