Commit: 36be233e271eb882ebf31688d74537385ae02435
Author: Lukas Tönne
Date:   Thu Mar 12 15:55:11 2015 +0100
Branches: alembic_pointcache
https://developer.blender.org/rB36be233e271eb882ebf31688d74537385ae02435

Moved the DupliCache struct into DNA, it will be needed for drawing and
RNA access later.

===================================================================

M       source/blender/blenkernel/intern/object_dupli.c
M       source/blender/makesdna/DNA_object_types.h

===================================================================

diff --git a/source/blender/blenkernel/intern/object_dupli.c 
b/source/blender/blenkernel/intern/object_dupli.c
index 2af8235..033f058 100644
--- a/source/blender/blenkernel/intern/object_dupli.c
+++ b/source/blender/blenkernel/intern/object_dupli.c
@@ -1242,14 +1242,6 @@ int count_duplilist(Object *ob)
 
 /* ------------------------------------------------------------------------- */
 
-
-
-typedef struct DupliCache {
-       struct GHash *ghash;
-       
-       ListBase duplilist;
-} DupliCache;
-
 static void dupli_object_data_free(DupliObjectData *data)
 {
        if (data->cache_dm)
diff --git a/source/blender/makesdna/DNA_object_types.h 
b/source/blender/makesdna/DNA_object_types.h
index 49cb0b9..8dc95c0 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -338,6 +338,12 @@ typedef struct DupliObjectData {
        struct DerivedMesh *cache_dm;
 } DupliObjectData;
 
+typedef struct DupliCache {
+       struct GHash *ghash;
+       
+       ListBase duplilist;
+} DupliCache;
+
 /* **************** OBJECT ********************* */
 
 /* used many places... should be specialized  */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to