From 981f544f5ff954beb9b9ddd53d9ff62a4a5fcc20 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 3 Dec 2015 20:18:32 +1100 Subject: Expose flush edits as an operator (for Py access) --- source/blender/editors/include/ED_util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/include/ED_util.h') diff --git a/source/blender/editors/include/ED_util.h b/source/blender/editors/include/ED_util.h index 496ce7f2c60..cb331554a8f 100644 --- a/source/blender/editors/include/ED_util.h +++ b/source/blender/editors/include/ED_util.h @@ -44,6 +44,8 @@ bool ED_editors_flush_edits(const struct bContext *C, bool for_render); void ED_spacedata_id_unref(struct SpaceLink *sl, const struct ID *id); +void ED_OT_flush_edits(struct wmOperatorType *ot); + /* ************** Undo ************************ */ /* undo.c */ -- cgit v1.2.3