diff options
author | Matt Ebb <matt@mke3.net> | 2010-03-31 04:55:01 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-03-31 04:55:01 +0400 |
commit | 4a451714d64e0628e06cce6f7cdedcb88a79efc5 (patch) | |
tree | 15aa4fd835f0d309f5f2fbe0d09f11efc3bd14c6 /source/blender/editors/include/ED_object.h | |
parent | 05c2906b769a3a56939bd870589dab637b73d63d (diff) |
Fix [#21832] Add Modifier, Pinned Context
Added convenience function ED_object_active_context(C) to get either the
object in the data context, or if not, the active object.
Diffstat (limited to 'source/blender/editors/include/ED_object.h')
-rw-r--r-- | source/blender/editors/include/ED_object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index 92d0406dd58..709e36bccb2 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -48,6 +48,9 @@ struct wmOperator; struct wmEvent; /* object_edit.c */ +struct Object *ED_object_active_context(struct bContext *C); + +/* object_ops.c */ void ED_operatortypes_object(void); void ED_operatormacros_object(void); void ED_keymap_object(struct wmKeyConfig *keyconf); |