[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30302] branches/soc-2010-nexyon/source/ blender/blenloader/intern/readfile.c: Fixed error in 2.4x sound conversion.

Joerg Mueller nexyon at gmail.com
Wed Jul 14 10:52:06 CEST 2010


Revision: 30302
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30302
Author:   nexyon
Date:     2010-07-14 10:52:06 +0200 (Wed, 14 Jul 2010)

Log Message:
-----------
Fixed error in 2.4x sound conversion.

Modified Paths:
--------------
    branches/soc-2010-nexyon/source/blender/blenloader/intern/readfile.c

Modified: branches/soc-2010-nexyon/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/soc-2010-nexyon/source/blender/blenloader/intern/readfile.c	2010-07-14 08:39:59 UTC (rev 30301)
+++ branches/soc-2010-nexyon/source/blender/blenloader/intern/readfile.c	2010-07-14 08:52:06 UTC (rev 30302)
@@ -9684,7 +9684,7 @@
 					if(sAct->sound)
 					{
 						sound = newlibadr(fd, lib, sAct->sound);
-						sAct->flag = sound->flags | SOUND_FLAGS_3D ? ACT_SND_3D_SOUND : 0;
+						sAct->flag = sound->flags & SOUND_FLAGS_3D ? ACT_SND_3D_SOUND : 0;
 						sAct->pitch = sound->pitch;
 						sAct->volume = sound->volume;
 						sAct->sound3D.reference_distance = sound->distance;





More information about the Bf-blender-cvs mailing list