[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11759] branches/soc-2007-hcube/source/ blender/src/soundsystem.c: bugfix: didnt set INVALID state to unsupported samples
Csaba Hruska
csaba.hruska at gmail.com
Tue Aug 21 00:38:28 CEST 2007
Revision: 11759
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11759
Author: hcube
Date: 2007-08-21 00:38:10 +0200 (Tue, 21 Aug 2007)
Log Message:
-----------
bugfix: didnt set INVALID state to unsupported samples
Modified Paths:
--------------
branches/soc-2007-hcube/source/blender/src/soundsystem.c
Modified: branches/soc-2007-hcube/source/blender/src/soundsystem.c
===================================================================
--- branches/soc-2007-hcube/source/blender/src/soundsystem.c 2007-08-20 21:51:36 UTC (rev 11758)
+++ branches/soc-2007-hcube/source/blender/src/soundsystem.c 2007-08-20 22:38:10 UTC (rev 11759)
@@ -232,6 +232,7 @@
sndHandle = SND_SoundNew( sample->name );
if( sndHandle == NULL )
{
+ sample->type = SAMPLE_INVALID;
return FALSE;
}
sample->snd_sample = sndHandle;
More information about the Bf-blender-cvs
mailing list