diff options
author | Arystanbek Dyussenov <arystan.d@gmail.com> | 2009-06-19 16:46:51 +0400 |
---|---|---|
committer | Arystanbek Dyussenov <arystan.d@gmail.com> | 2009-06-19 16:46:51 +0400 |
commit | f6267e2a26cac8c7b30c7b165df1df54e9cec474 (patch) | |
tree | 739de7d1db12e746607e677080f8bc3e4125b8d0 /source/blender/makesdna/DNA_object_types.h | |
parent | 5d78f56c1fb1208329ba9c40eaff6ee4a8cd59bb (diff) |
Moved struct DupliObject to DNA_object_types.h.
Object.create_dupli_list now works ok.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index febf2fe59cd..445a948c5cb 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -230,6 +230,7 @@ typedef struct Object { int pad2; ListBase gpulamp; /* runtime, for lamps only */ + ListBase *duplilist; /* only for internal use by RNA API functions. To get dupli list, use object_duplilist instead */ } Object; /* Warning, this is not used anymore because hooks are now modifiers */ @@ -250,6 +251,14 @@ typedef struct ObHook { float force; } ObHook; +typedef struct DupliObject { + struct DupliObject *next, *prev; + struct Object *ob; + unsigned int origlay; + int index, no_draw, type, animated; + float mat[4][4], omat[4][4]; + float orco[3], uv[2]; +} DupliObject; /* this work object is defined in object.c */ extern Object workob; |