diff options
author | Ton Roosendaal <ton@blender.org> | 2005-11-20 18:54:45 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-11-20 18:54:45 +0300 |
commit | 874c7d7831dec01e3ffdb0f920ca89b68c9d93ea (patch) | |
tree | c1ff9835c6e69a75ff3168824cce10327e3d1673 /source/blender | |
parent | d040d2012c0340460253650365d9c36f5318f6dd (diff) |
Added pointercheck to oops code that evaluates color. Thanks campbell!
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/src/drawoops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawoops.c b/source/blender/src/drawoops.c index fdf94263a4a..2cc39627d9d 100644 --- a/source/blender/src/drawoops.c +++ b/source/blender/src/drawoops.c @@ -138,7 +138,7 @@ void draw_oopslink(Oops *oops) } else { if(oops->flag & SELECT) { - if(oops->id->lib) cpack(0x11AAFF); + if(oops->id && oops->id->lib) cpack(0x11AAFF); else cpack(0xFFFFFF); } else cpack(0x0); |