Fix T51856: `BKE_mesh_new_from_object()` would often generate default 'Mesh' named...
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 21 Jun 2017 08:30:38 +0000 (10:30 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 21 Jun 2017 08:30:38 +0000 (10:30 +0200)
commitaf3545591228b9de135b0726a63835dd36b2e982
tree1fdcfffa61fb67c978cbf5a4e00b55d11e2811bb
parent9e08019b74c7032feea81db16eb9165899c3fd41
Fix T51856: `BKE_mesh_new_from_object()` would often generate default 'Mesh' named datablock.

This is annoying especially for exporters who do use mesh name, since it
broke any relation with actual Mesh naming in original Blend file.

Unfortunately, we cannot avoid the extra .xxx digits. ;)
source/blender/blenkernel/BKE_mesh.h
source/blender/blenkernel/intern/mesh.c