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-31 12:49:41 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-31 12:49:41 +0300
commit297563286e40cd2a9460ff102c85d8c4ae96aab2 (patch)
treecb1bc2b2f6c4add463cba465a20dbb13deb43591 /source/blender/makesdna/DNA_object_types.h
parent1700c4c6fb6a87890a9072976cd0133da67aa57c (diff)
Store the overall result of cache reading in the DupliCache.
This is used to prevent empty dupli lists when reading the cache fails. In that case the duplilist function will now revert to default scene evaluation.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 7bb0cfc4569..2bf76c7d40a 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -347,7 +347,8 @@ typedef struct DupliObjectData {
} DupliObjectData;
typedef struct DupliCache {
- int flag;
+ short flag;
+ short result;
float cfra; /* frame for which the cache was constructed */
struct GHash *ghash;