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:
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index 79bf76618a6..796a06a21e6 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -35,6 +35,8 @@
#include "DNA_listBase.h"
#include "DNA_ID.h"
+struct DerivedMesh;
+struct DispListMesh;
struct Ipo;
struct Key;
struct Material;
@@ -77,6 +79,11 @@ typedef struct Mesh {
struct Mesh *texcomesh;
float *orco;
+ /* not written in file, caches derived mesh */
+ struct DerivedMesh *derived;
+ /* hacky place to store temporary decimated mesh */
+ struct DispListMesh *decimated;
+
struct OcInfo *oc; /* not written in file */
void *sumohandle;
@@ -87,14 +94,13 @@ typedef struct Mesh {
float size[3];
float rot[3];
+ float cubemapsize, pad;
+
short smoothresh, flag;
- short subdiv, subdivr, subdivdone;
+ short subdiv, subdivr;
short totcol;
short subsurftype;
- short reserved1; /* Padding */
-
- float cubemapsize;
} Mesh;