diff options
author | Ton Roosendaal <ton@blender.org> | 2005-07-13 23:42:08 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-07-13 23:42:08 +0400 |
commit | 75ae1ae5ef0d3bb37cd3a5c70699955cb207dcde (patch) | |
tree | dddd08d35bafcd07be90d330dbd72859e9b3df45 /source/creator | |
parent | 64af8d0ced696fd1ab3dbb452e1dda2a43843f6f (diff) |
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. :)
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 1c8cab55cb5..a4b932611ff 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -527,8 +527,6 @@ int main(int argc, char **argv) case 'f': a++; if (G.scene && a < argc) { - G.real_sfra = (G.scene->r.sfra); - G.real_efra = (G.scene->r.efra); (G.scene->r.sfra) = atoi(argv[a]); (G.scene->r.efra) = (G.scene->r.sfra); RE_animrender(NULL); @@ -536,8 +534,6 @@ int main(int argc, char **argv) break; case 'a': if (G.scene) { - G.real_sfra = (G.scene->r.sfra); - G.real_efra = (G.scene->r.efra); RE_animrender(NULL); } break; |