Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-20 04:18:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-20 04:18:35 +0400
commit818e19713a089ffb500201bf3e1c3d8327c75fb9 (patch)
treee8f9ca03165d6fd7599bb6844a099cfe485ac7dc /source/blender/makesdna/DNA_mesh_types.h
parent40c59b1a3d8497dd77601971aac73d9db9cee187 (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/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h3
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