diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-06-16 23:54:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-06-16 23:54:43 +0400 |
commit | 6be46f9ee3c29da2022e14bf812a5dac172453cb (patch) | |
tree | 68c778825e927f673439235276cd3c5845e17a85 /source/blender/src/drawoops.c | |
parent | bb539ce1b5171fb2b34379655071054905c802cf (diff) |
[#11456] New datablock type(s) added to Oops Schematic
patch from Shawn Zilbert (enigmatic)
This patch adds the camera data block type to the oops schematic view of the outliner. It also includes a little bit of code cleanup in the oops files.
Diffstat (limited to 'source/blender/src/drawoops.c')
-rw-r--r-- | source/blender/src/drawoops.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/src/drawoops.c b/source/blender/src/drawoops.c index 5da38135be3..75bea40a8b4 100644 --- a/source/blender/src/drawoops.c +++ b/source/blender/src/drawoops.c @@ -229,6 +229,8 @@ void draw_icon_oops(float *co, short type) case ID_LI: icon= ICON_LIBRARY_HLT; break; case ID_IM: icon= ICON_IMAGE_HLT; break; case ID_GR: icon= ICON_CIRCLE_DEHLT; break; + case ID_CA: icon= ICON_CAMERA_DEHLT; break; + case ID_AR: icon= ICON_ARMATURE; break; } glEnable(GL_BLEND); @@ -282,6 +284,12 @@ unsigned int give_oops_color(short type, short sel, unsigned int *border) body= 0x35659F; break; case ID_GR: body= 0x507050; break; + case ID_CA: + body= 0x7570A0; break; + case ID_LT: + body= 0xA08090; break; + case ID_AR: + body= 0x70B0C0; break; default: body= 0x606070; break; } @@ -516,3 +524,4 @@ void drawoopsspace(ScrArea *sa, void *spacedata) + |