diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-03-22 17:27:24 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-03-22 17:27:24 +0400 |
commit | bdebaf0fb49ff05750b283bbd92d21bb57127a19 (patch) | |
tree | 0e9e1645a983364e15cbc0abb9b3c910c0edf2b9 /source/blender/blenkernel/BKE_armature.h | |
parent | 44eb9cc2721463ee302dc3a74d45092bd10c12ac (diff) |
Fix [#30614] (some Display settings are uneeded for non-geometry/material object types, and armature have no boundbox).
This commit:
* Removes the Wire and Color options from the UI for all object types but meshes, curves/surfaces/texts, and metas.
* Adds a basic bounding box drawing (and computing) for armatures.
Diffstat (limited to 'source/blender/blenkernel/BKE_armature.h')
-rw-r--r-- | source/blender/blenkernel/BKE_armature.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_armature.h b/source/blender/blenkernel/BKE_armature.h index 441d63be764..e4802cfa37f 100644 --- a/source/blender/blenkernel/BKE_armature.h +++ b/source/blender/blenkernel/BKE_armature.h @@ -82,6 +82,9 @@ void free_armature(struct bArmature *arm); void make_local_armature(struct bArmature *arm); struct bArmature *copy_armature(struct bArmature *arm); +/* Bounding box. */ +struct BoundBox *BKE_armature_get_bb(struct Object *ob); + int bone_autoside_name (char name[64], int strip_number, short axis, float head, float tail); struct Bone *get_named_bone (struct bArmature *arm, const char *name); |