diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-20 04:18:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-20 04:18:35 +0400 |
commit | 818e19713a089ffb500201bf3e1c3d8327c75fb9 (patch) | |
tree | e8f9ca03165d6fd7599bb6844a099cfe485ac7dc /source/blender/makesdna | |
parent | 40c59b1a3d8497dd77601971aac73d9db9cee187 (diff) |
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.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_mesh_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |