Set mesh->totface in nomain-mesh creation
authorSybren A. Stüvel <sybren@stuvel.eu>
Wed, 6 Jun 2018 10:16:02 +0000 (12:16 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Wed, 6 Jun 2018 10:27:25 +0000 (12:27 +0200)
commit5e180ebffcedcfe1e8b48dff88860569c290f384
tree0c58c72492d73fce05fc4cf6d5dc44ffaffcea71
parentc4ce4034e67b8d7030e6ec932b264984e007e371
Set mesh->totface in nomain-mesh creation

The totxxx fields should match the number of elements in their respective
custom data layers.
source/blender/blenkernel/intern/mesh.c