[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11736] branches/soc-2007-hcube/source/ blender/blenkernel/intern/sound.c: bugfix: now resets the empty pointer.
Csaba Hruska
csaba.hruska at gmail.com
Mon Aug 20 12:54:58 CEST 2007
Revision: 11736
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11736
Author: hcube
Date: 2007-08-20 12:54:57 +0200 (Mon, 20 Aug 2007)
Log Message:
-----------
bugfix: now resets the empty pointer.
Modified Paths:
--------------
branches/soc-2007-hcube/source/blender/blenkernel/intern/sound.c
Modified: branches/soc-2007-hcube/source/blender/blenkernel/intern/sound.c
===================================================================
--- branches/soc-2007-hcube/source/blender/blenkernel/intern/sound.c 2007-08-20 10:53:54 UTC (rev 11735)
+++ branches/soc-2007-hcube/source/blender/blenkernel/intern/sound.c 2007-08-20 10:54:57 UTC (rev 11736)
@@ -70,6 +70,7 @@
if (sample->snd_sample) {
SND_SoundDelete( sample->snd_sample );
+ sample->snd_sample = NULL;
}
sample->type = SAMPLE_INVALID;
More information about the Bf-blender-cvs
mailing list