diff options
author | Ton Roosendaal <ton@blender.org> | 2006-02-02 22:31:15 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-02-02 22:31:15 +0300 |
commit | 21e7a5f142b47f6eff3b9d221bae27391971bb3d (patch) | |
tree | 8fe5f9c9b978e5e0e24869839be7107f3231aea9 /source/blender/blenkernel/BKE_anim.h | |
parent | 2a528b285e29382f2447701058525dc5299525ed (diff) |
Render fix: object-duplicators now give their layer setting to the
duplicates, enabling lighting and layer-render properly.
Diffstat (limited to 'source/blender/blenkernel/BKE_anim.h')
-rw-r--r-- | source/blender/blenkernel/BKE_anim.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_anim.h b/source/blender/blenkernel/BKE_anim.h index 69fb83aac30..d139afe6c25 100644 --- a/source/blender/blenkernel/BKE_anim.h +++ b/source/blender/blenkernel/BKE_anim.h @@ -38,10 +38,12 @@ struct Path; struct Object; struct PartEff; struct Scene; +struct ListBase; typedef struct DupliObject { struct DupliObject *next, *prev; struct Object *ob; + unsigned int origlay; float mat[4][4], omat[4][4]; } DupliObject; @@ -50,7 +52,8 @@ void calc_curvepath(struct Object *ob); int interval_test(int min, int max, int p1, int cycl); int where_on_path(struct Object *ob, float ctime, float *vec, float *dir); -ListBase *object_duplilist(struct Scene *sce, struct Object *ob); +struct ListBase *object_duplilist(struct Scene *sce, struct Object *ob); +void free_object_duplilist(struct ListBase *lb); int count_duplilist(struct Object *ob); #endif |