diff options
Diffstat (limited to 'source/blender/blenkernel/intern/material.c')
-rw-r--r-- | source/blender/blenkernel/intern/material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c index cf9b838a7c2..9df523a5bfe 100644 --- a/source/blender/blenkernel/intern/material.c +++ b/source/blender/blenkernel/intern/material.c @@ -675,7 +675,7 @@ Material *give_current_material(Object *ob, short act) { Material ***matarar, *ma; short *totcolp; - + if (ob == NULL) return NULL; /* if object cannot have material, (totcolp == NULL) */ |