Fix [#30614] (some Display settings are uneeded for non-geometry/material object...
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 22 Mar 2012 13:27:24 +0000 (13:27 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 22 Mar 2012 13:27:24 +0000 (13:27 +0000)
commitbdebaf0fb49ff05750b283bbd92d21bb57127a19
tree0e9e1645a983364e15cbc0abb9b3c910c0edf2b9
parent44eb9cc2721463ee302dc3a74d45092bd10c12ac
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.
release/scripts/startup/bl_ui/properties_object.py
source/blender/blenkernel/BKE_armature.h
source/blender/blenkernel/intern/armature.c
source/blender/editors/space_view3d/drawobject.c