From cf2876b77aaf84a50922f7398f89feaeb56bad0b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 4 Mar 2015 14:38:16 +1100 Subject: Fix for snap to cursor /w parents (object/pose) Also don't use pose-bone transform unless the user is in pose-mode. --- source/blender/blenkernel/BKE_object.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_object.h') diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 0ea460d1a60..46ec4697737 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -184,6 +184,8 @@ int BKE_object_insert_ptcache(struct Object *ob); void BKE_object_delete_ptcache(struct Object *ob, int index); struct KeyBlock *BKE_object_insert_shape_key(struct Object *ob, const char *name, const bool from_mix); +bool BKE_object_flag_test_recursive(const struct Object *ob, short flag); + bool BKE_object_is_child_recursive(struct Object *ob_parent, struct Object *ob_child); bool BKE_object_is_animated(struct Scene *scene, struct Object *ob); -- cgit v1.2.3