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>2018-10-10 07:50:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-10 07:53:52 +0300
commit84cf670d1d86f69aecbb6307aa49650e958d7845 (patch)
tree34229fcf531111ed8297937f0bb0b765284a37f5 /source/blender/makesdna/DNA_mesh_types.h
parent606ac3eb7f4c93466eb666fe0ae9b6494a4e1bb6 (diff)
Modifier: Fix cage option for deform modifiers
Show-on-cage and show-in-editmode options now work as it did in 2.7x (but only for deformation).
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index 656f9fa3034..c591b57002a 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -100,8 +100,14 @@ typedef struct Mesh_Runtime {
/** 'BVHCache', for 'BKE_bvhutil.c' */
struct LinkNode *bvh_cache;
- int deformed_only; /* set by modifier stack if only deformed from original */
- char padding[4];
+ /** Set by modifier stack if only deformed from original. */
+ char deformed_only;
+ /**
+ * Copied from edit-mesh (hint, draw with editmesh data).
+ * In the future we may leave the mesh-data empty
+ * since its not needed if we can use edit-mesh data. */
+ char is_original;
+ char padding[6];
} Mesh_Runtime;
typedef struct Mesh {