Cleanup: make Group Unlink operator use BKE_libblock_delete(), since that's what...
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 15 Jun 2017 10:49:40 +0000 (12:49 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 15 Jun 2017 10:49:40 +0000 (12:49 +0200)
commit2bd51474a440aaa2f3a7a90b2e3da663f2fc1f42
tree29847578c1b5eb11d4d1d0fda03b4659c9ac9a09
parent7853ebc204238a660b57431cd86ae113ae58c3a0
Cleanup: make Group Unlink operator use BKE_libblock_delete(), since that's what it is doing.

Previous code (same as what `BKE_libblock_free_us()` is doing when
usercount reach 0) was probably OK in that specific case, but still not
good idea, and potentially risky.
source/blender/editors/object/object_group.c