fix [#30266] B-Mesh: Issue with Weight Painting
authorCampbell Barton <ideasman42@gmail.com>
Mon, 20 Feb 2012 00:18:35 +0000 (00:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 20 Feb 2012 00:18:35 +0000 (00:18 +0000)
commit818e19713a089ffb500201bf3e1c3d8327c75fb9
treee8f9ca03165d6fd7599bb6844a099cfe485ac7dc
parent40c59b1a3d8497dd77601971aac73d9db9cee187
fix [#30266] B-Mesh: Issue with Weight Painting

thanks to Nicholas Bishop for finding the cause of the problem.

don't tesselate on load, this means me->mface will be NULL by default.

we may need to have this set if existing uses of this array are not resolved before release - so add a define USE_TESSFACE_DEFAULT, to change this easily.

this is a rather indirect fix - need to take care here.
source/blender/blenloader/intern/readfile.c
source/blender/editors/mesh/bmesh_tools.c
source/blender/editors/mesh/bmesh_utils.c
source/blender/makesdna/DNA_mesh_types.h
source/blender/makesrna/intern/rna_mesh.c