diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-28 10:37:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-28 10:37:58 +0400 |
commit | c4a50e9aeb589045b857fea878fb86faba39dd3c (patch) | |
tree | 650846ab417fc96c646da2bed9b8edd16e2a8147 /source/blender/editors/object/object_relations.c | |
parent | 0cb9a8311364edbc65fa207678341b88b986749d (diff) |
remove unneeded NULL checks, add one for give_matarar() return value.
Diffstat (limited to 'source/blender/editors/object/object_relations.c')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index 13fb46e35de..52f51cfcf48 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -2049,7 +2049,7 @@ static int make_local_exec(bContext *C, wmOperator *op) if (adt) BKE_animdata_make_local(adt); /* tag indirect data direct */ - matarar = (Material ***)give_matarar(ob); + matarar = give_matarar(ob); if (matarar) { for (a = 0; a < ob->totcol; a++) { ma = (*matarar)[a]; |