Armature "XRay mode" now draws nicely with solid too. For it to work, I
authorTon Roosendaal <ton@blender.org>
Wed, 13 Jul 2005 19:42:08 +0000 (19:42 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 13 Jul 2005 19:42:08 +0000 (19:42 +0000)
commit75ae1ae5ef0d3bb37cd3a5c70699955cb207dcde
treedddd08d35bafcd07be90d330dbd72859e9b3df45
parent64af8d0ced696fd1ab3dbb452e1dda2a43843f6f
Armature "XRay mode" now draws nicely with solid too. For it to work, I
had to add a new feature to the 3d window, to collect "after draw" objects,
which get drawn as last, after a clear of the zbuffer.

Same method can be used for nice OpenGL transparent draw, the system is
ready for it, do that later.

The huge commit is caused by cleaning up globals from struct Global. Many
variables were unused or just not needed anymore. Did that to move the ugly
G.zbuf to where it belongs, in the View3D space struct. :)
14 files changed:
source/blender/blenkernel/BKE_global.h
source/blender/blenkernel/intern/blender.c
source/blender/include/BSE_drawview.h
source/blender/makesdna/DNA_view3d_types.h
source/blender/radiosity/extern/include/radio.h
source/blender/radiosity/intern/source/raddisplay.c
source/blender/src/drawarmature.c
source/blender/src/drawobject.c
source/blender/src/drawview.c
source/blender/src/editobject.c
source/blender/src/transform_constraints.c
source/blender/src/transform_manipulator.c
source/blender/src/view.c
source/creator/creator.c