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:
authorTon Roosendaal <ton@blender.org>2005-09-24 13:05:48 +0400
committerTon Roosendaal <ton@blender.org>2005-09-24 13:05:48 +0400
commit6b33e12b90bbadef879099dd0dd3062857b273c9 (patch)
treeb61a324afa4f898280fde1e7a001bec7ddc12c56 /source/blender/blenkernel/BKE_anim.h
parent4fb0cccc68efabe264e9139f980cd67fd29980f3 (diff)
Bug fix #3094
Playback of sequencer sound crashed in combination with dupliverted Objects. (confirmed in osx only btw). Found out there's old not-needed code in the update_for_newframe() call, that was intended to do updates for Manipulators (calling countall()). In countall(), the entire duplilists were generated over, just for counting the totals. First step was removing the countall from update_for_newframe, and added a count_duplilist() call which doesn't generate the full duplilist. That made Blender not crashing anymore, but gives "Error totblock", without printing the block names even... The weird thing also was that the crash showed severe memory corruption in the malloc library, when combining audio scrubbing (SDL) and duplilists. I now suspect there's a remaining issue with DerivedMesh, but for that I need help from Daniel.
Diffstat (limited to 'source/blender/blenkernel/BKE_anim.h')
-rw-r--r--source/blender/blenkernel/BKE_anim.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_anim.h b/source/blender/blenkernel/BKE_anim.h
index a83c9d9c219..16e8b5652aa 100644
--- a/source/blender/blenkernel/BKE_anim.h
+++ b/source/blender/blenkernel/BKE_anim.h
@@ -48,6 +48,7 @@ void vertex_duplilist(struct Scene *sce, struct Object *par);
void particle_duplilist(struct Scene *sce, struct Object *par, struct PartEff *paf);
void free_duplilist(void);
void make_duplilist(struct Scene *sce, struct Object *ob);
-
+int count_duplilist(struct Object *ob);
+
#endif