[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12557] branches/soc-2007-hcube/intern/ tinySND/blender/SND_C-api.cpp: fix to compilr with msvc

Csaba Hruska csaba.hruska at gmail.com
Sun Nov 11 19:24:41 CET 2007


Revision: 12557
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12557
Author:   hcube
Date:     2007-11-11 19:24:40 +0100 (Sun, 11 Nov 2007)

Log Message:
-----------
fix to compilr with msvc

Modified Paths:
--------------
    branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.cpp

Modified: branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.cpp
===================================================================
--- branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.cpp	2007-11-11 16:56:22 UTC (rev 12556)
+++ branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.cpp	2007-11-11 18:24:40 UTC (rev 12557)
@@ -653,7 +653,7 @@
 	if( sound->mGain != gain )
 	{
 		// calculate value in linear scale
-		float linearGain = (float)pow( 10, gain / 10.0 );
+		float linearGain = (float)pow( 10.0, gain / 10.0 );
 
 		std::vector<SND_FXSample*>::const_iterator i;
 





More information about the Bf-blender-cvs mailing list