Revision: 26406
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26406
Author:   kjym3
Date:     2010-01-30 00:55:32 +0100 (Sat, 30 Jan 2010)

Log Message:
-----------
Replaced "math.h" by "BLI_math.h" to suppress a warning with regard
to redefinition of M_PI.

Modified Paths:
--------------
    
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/system/FreestyleConfig.h

Modified: 
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/system/FreestyleConfig.h
===================================================================
--- 
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/system/FreestyleConfig.h
        2010-01-29 22:13:39 UTC (rev 26405)
+++ 
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/system/FreestyleConfig.h
        2010-01-29 23:55:32 UTC (rev 26406)
@@ -32,17 +32,12 @@
 # define CONFIG_H
 
 # include <string>
-# include <math.h>
+# include "BLI_math.h"
 
 using namespace std;
 
 namespace Config {
 
-  // Pi definition
-# ifndef M_PI
-#  define M_PI 3.14159265
-# endif // M_PI
-
   // Directory separators
 # ifdef WIN32
   static const string DIR_SEP("\\");


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to