Tweak new BKE_id_is_in_global_main to accept NULL pointer (and consider them as valid).
-rw-r--r-- 170 .arcconfig
-rw-r--r-- 795 .editorconfig
-rw-r--r-- 509 .gitignore
-rw-r--r-- 529 .gitmodules
-rw-r--r-- 64898 CMakeLists.txt
-rw-r--r-- 302 COPYING
-rw-r--r-- 16865 GNUmakefile
drwxr-xr-x - build_files
drwxr-xr-x - doc
drwxr-xr-x - extern
drwxr-xr-x - intern
-rw-r--r-- 2092 make.bat
drwxr-xr-x - release
drwxr-xr-x - source
drwxr-xr-x - tests