diff options
-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); |