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-04-02 14:35:07 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-04-02 14:36:50 +0300
commit366fc83f6d1d5baa1d557b6bc3ba4f8d82dc8ce7 (patch)
treee15747fb04d0120a737946c769568222b122e61b /source/blender/makesdna/DNA_object_types.h
parentf0e8334d1a4a3f72b787387a3789064d63adb1b0 (diff)
Fixed DupliCache writers/readers to support subsequent stages of
cache manipulation. Strand data in caches is now stored in a named list, so we can avoid adding strand data in every frame.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 7b91711462c..30676d8e246 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -333,6 +333,13 @@ typedef struct DupliObject {
struct DupliObjectData *data;
} DupliObject;
+typedef struct DupliObjectDataStrands {
+ struct DupliObjectDataStrands *next, *prev;
+
+ char name[64]; /* MAX_NAME */
+ struct Strands *strands;
+} DupliObjectDataStrands;
+
/* data that can be shared by multiple DupliObject instances */
typedef struct DupliObjectData {
/* XXX eventually it should be possible to construct dupli instances