diff options
Diffstat (limited to 'source/blender/editors/armature/editarmature_undo.c')
-rw-r--r-- | source/blender/editors/armature/editarmature_undo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/armature/editarmature_undo.c b/source/blender/editors/armature/editarmature_undo.c index f27d68d0634..217de06d99b 100644 --- a/source/blender/editors/armature/editarmature_undo.c +++ b/source/blender/editors/armature/editarmature_undo.c @@ -36,9 +36,10 @@ #include "BLI_array_utils.h" #include "BKE_context.h" -#include "BKE_depsgraph.h" #include "BKE_undo_system.h" +#include "DEG_depsgraph.h" + #include "ED_armature.h" #include "ED_object.h" #include "ED_util.h" @@ -154,7 +155,7 @@ static void armature_undosys_step_decode(struct bContext *C, UndoStep *us_p, int Object *obedit = us->obedit_ref.ptr; bArmature *arm = obedit->data; undoarm_to_editarm(&us->data, arm); - DAG_id_tag_update(&obedit->id, OB_RECALC_DATA); + DEG_id_tag_update(&obedit->id, OB_RECALC_DATA); WM_event_add_notifier(C, NC_GEOM | ND_DATA, NULL); } |