ID Management Py API: Fix (unreported) crash in some cases.
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 18 Feb 2019 15:55:32 +0000 (16:55 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 18 Feb 2019 16:16:33 +0000 (17:16 +0100)
commit1414c4496cc492320ec5076fe17cfb8e89df6a01
tree67469bda78ffcfc656f96de9ed77635296efa800
parentb8ec2c95596fe9b9a0b4c3426640ba58eeeb2efb
ID Management Py API: Fix (unreported) crash in some cases.

Would crash when passing some kind of invalid parameters, e.g.:

   >>>D.user_map(key_types={'brush'})
source/blender/python/intern/bpy_rna_id_collection.c