[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31957] trunk/blender/source/blender/ makesrna/intern/rna_armature.c: Make sure rna_armature.c compiles.
Nathan Letwory
nathan at letworyinteractive.com
Thu Sep 16 07:49:09 CEST 2010
Revision: 31957
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31957
Author: jesterking
Date: 2010-09-16 07:49:09 +0200 (Thu, 16 Sep 2010)
Log Message:
-----------
Make sure rna_armature.c compiles. Use BLI_math.h that includes <math.h> and ensures it compiles on all platforms. (fix for r31956).
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_armature.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_armature.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_armature.c 2010-09-16 04:19:22 UTC (rev 31956)
+++ trunk/blender/source/blender/makesrna/intern/rna_armature.c 2010-09-16 05:49:09 UTC (rev 31957)
@@ -23,8 +23,9 @@
*/
#include <stdlib.h>
-#include <math.h>
+#include "BLI_math.h"
+
#include "RNA_define.h"
#include "rna_internal.h"
@@ -38,8 +39,6 @@
#ifdef RNA_RUNTIME
-#include "BLI_math.h"
-
#include "BKE_context.h"
#include "BKE_depsgraph.h"
#include "BKE_idprop.h"
More information about the Bf-blender-cvs
mailing list