From 818e19713a089ffb500201bf3e1c3d8327c75fb9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 Feb 2012 00:18:35 +0000 Subject: 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/makesdna/DNA_mesh_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesdna/DNA_mesh_types.h') diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index ae9a68fac18..290defaec0c 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -229,4 +229,7 @@ typedef struct TFace { #define USE_BMESH_SAVE_WITHOUT_MFACE +/* enable this so meshes get tessfaces calculated by default */ +// #define USE_TESSFACE_DEFAULT + #endif -- cgit v1.2.3