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:
authorLukas Tönne <lukas.toenne@gmail.com>2015-03-12 14:21:12 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-26 16:13:36 +0300
commit39af6d71cf05f405c74d54115fb711ca5fa31662 (patch)
treeda32d183b31b27a15b439181d5e2fb03e5652a24 /source/blender/makesdna/DNA_object_types.h
parentc61c039f21e379fcefea5d0bf0339d19c0acdf79 (diff)
Cache reading functions for constructing a nested dupligroup list based
on Alembic cache data.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 04b67658362..dc56f304567 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -331,9 +331,14 @@ typedef struct DupliObject {
/* particle this dupli was generated from */
struct ParticleSystem *particle_system;
- struct DerivedMesh *cache_dm;
+ struct DupliObjectData *data;
} DupliObject;
+/* data that can be shared by multiple DupliObject instances */
+typedef struct DupliObjectData {
+ struct DerivedMesh *cache_dm;
+} DupliObjectData;
+
/* **************** OBJECT ********************* */
/* used many places... should be specialized */