Fix T53363: Blender won't update mesh's usercount when deleting object datablocks...
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 25 Jan 2018 09:11:12 +0000 (10:11 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 25 Jan 2018 09:11:12 +0000 (10:11 +0100)
commit566eb60d817da3e32661efda59b20f6f893ff7cc
tree48b068dcc571f03e364dfcad750768616cf0b2b3
parent693b41eb17557ba12e7c64c5ba589c499ff45c4d
Fix T53363: Blender won't update mesh's usercount when deleting object datablocks in Editmode.

Only do special handling of ob->data pointer in case we are remapping to
a valid (non-NULL) other obdata. Otherwise, handle it as any other
'remapping to NULL' case.

Hopefully not breaking anything else...
source/blender/blenkernel/intern/library_remap.c