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:
authorTon Roosendaal <ton@blender.org>2005-09-22 21:00:58 +0400
committerTon Roosendaal <ton@blender.org>2005-09-22 21:00:58 +0400
commit0f6194e5bcf14a098e2e0fef8d8cb22bd2066eda (patch)
tree0fc08ddafaede03c852e42389600e8ce807263c3 /source/blender/makesdna/DNA_meshdata_types.h
parent7cd510f2d8f86d2288754f5e375dfed4e9b629e6 (diff)
Bugfix #3077
Radiosity didn't add edges block, on "Replace Meshes". Caused wireframe not to draw, but also crashes like for join(). Also: added patch that sets the drawflags in edges derived from the ones set in faces. This ensures the conversion to be done correct. TODO: this edges call also used in other areas in code, that has to be catched and done differently.
Diffstat (limited to 'source/blender/makesdna/DNA_meshdata_types.h')
-rw-r--r--source/blender/makesdna/DNA_meshdata_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h
index b240572c4b5..eaacdb3a398 100644
--- a/source/blender/makesdna/DNA_meshdata_types.h
+++ b/source/blender/makesdna/DNA_meshdata_types.h
@@ -37,7 +37,7 @@ struct Bone;
typedef struct MFace {
unsigned int v1, v2, v3, v4;
char pad, mat_nr;
- char pad2, flag;
+ char edcode, flag; /* we keep edcode, for conversion to edges draw flags in old files */
} MFace;
typedef struct MEdge {