diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-23 15:05:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-23 15:05:54 +0300 |
commit | 34479d8b63c9ef04ec14d99647f0c46b676b6ca6 (patch) | |
tree | f4d5cacdd73000c2917a60ea7b3891294e28c9d4 /source/blender/editors/include | |
parent | 17b847910169d03051959c77992217936f6a8167 (diff) |
Snap to Active: missing armature/pose/mball/curve
de-duplicate active center calc between transform & snap-to-selected.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index ccdde39f263..295bb752a08 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -138,6 +138,8 @@ void ED_object_editmode_exit(struct bContext *C, int flag); void ED_object_editmode_enter(struct bContext *C, int flag); bool ED_object_editmode_load(struct Object *obedit); +bool ED_object_editmode_calc_active_center(struct Object *obedit, const bool select_only, float r_center[3]); + void ED_object_location_from_view(struct bContext *C, float loc[3]); void ED_object_rotation_from_view(struct bContext *C, float rot[3], const char align_axis); void ED_object_base_init_transform(struct bContext *C, struct Base *base, const float loc[3], const float rot[3]); |