diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-27 23:32:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-27 23:32:52 +0300 |
commit | b633d760a20044faba430afe4dd094ad013fcb13 (patch) | |
tree | ff06691e60e668bf33e483251da16bba6e85c44d /source/blender/blenkernel/intern/library.c | |
parent | 532c8ac58384309e77791e32ab78f448ad2a76a6 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 00c542bcd4a..0eb943cc15b 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -2417,8 +2417,8 @@ void BKE_id_tag_clear_atomic(ID *id, int tag) /** Check that given ID pointer actually is in G_MAIN. * Main intended use is for debug asserts in places we cannot easily get rid of G_Main... */ -bool BKE_id_is_in_gobal_main(ID *id) { +bool BKE_id_is_in_gobal_main(ID *id) +{ /* We do not want to fail when id is NULL here, even though this is a bit strange behavior... */ return (id == NULL || BLI_findindex(which_libbase(G_MAIN, GS(id->name)), id) != -1); } - |