diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-09 02:31:01 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-09 02:31:01 +0300 |
commit | 7777fa9ae23e4a2525f357634e049795f951511f (patch) | |
tree | 2a89005573fe789f697e07e55f16a23a8c14864b /source/blender/src/butspace.c | |
parent | b00b82ca739f56f728127c9aa0d42dac0d9b12e4 (diff) |
- Bug located in outliner (missing break) by sgefant, thnx!
- On click on camera object in outliner, world buttons didnt display always
Plus; commented out the calls to select items with rightmouse. This is too
much WIP for official release, too much not working, and Matt prefers time
to further work on it as well.
Diffstat (limited to 'source/blender/src/butspace.c')
-rw-r--r-- | source/blender/src/butspace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/butspace.c b/source/blender/src/butspace.c index 443c8a88452..c91a3438f6d 100644 --- a/source/blender/src/butspace.c +++ b/source/blender/src/butspace.c @@ -333,7 +333,8 @@ static void butspace_context_switch(SpaceButs *buts, Object *new) int tab= buts->tab[CONTEXT_SHADING]; if(tab == TAB_SHADING_WORLD) { - if(new->type==OB_LAMP) { + if(new->type==OB_CAMERA); + else if(new->type==OB_LAMP) { buts->tab[CONTEXT_SHADING]= TAB_SHADING_LAMP; } else buts->tab[CONTEXT_SHADING]= TAB_SHADING_MAT; |