[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24593] trunk/blender/source/blender/ python/intern/bpy_interface.c: missing include

Campbell Barton ideasman42 at gmail.com
Mon Nov 16 20:18:04 CET 2009


Revision: 24593
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24593
Author:   campbellbarton
Date:     2009-11-16 20:18:04 +0100 (Mon, 16 Nov 2009)

Log Message:
-----------
missing include

Modified Paths:
--------------
    trunk/blender/source/blender/python/intern/bpy_interface.c

Modified: trunk/blender/source/blender/python/intern/bpy_interface.c
===================================================================
--- trunk/blender/source/blender/python/intern/bpy_interface.c	2009-11-16 19:03:40 UTC (rev 24592)
+++ trunk/blender/source/blender/python/intern/bpy_interface.c	2009-11-16 19:18:04 UTC (rev 24593)
@@ -74,6 +74,7 @@
 #include "../generic/Mathutils.h"
 #include "../generic/Geometry.h"
 #include "../generic/BGL.h"
+#include "../generic/IDProp.h"
 
 
 /* for internal use, when starting and ending python scripts */
@@ -176,12 +177,6 @@
 static void bpy_init_modules( void )
 {
 	PyObject *mod;
-	
-	/* stand alone utility modules not related to blender directly */
-	Geometry_Init();
-	Mathutils_Init();
-	BGL_Init();
-	IDProp_Init_Types();
 
 	/* Needs to be first since this dir is needed for future modules */
 	char *modpath= BLI_gethome_folder("scripts/modules", BLI_GETHOME_ALL);
@@ -192,6 +187,13 @@
 		Py_DECREF(py_modpath);
 	}
 	
+	/* stand alone utility modules not related to blender directly */
+	Geometry_Init();
+	Mathutils_Init();
+	BGL_Init();
+	IDProp_Init_Types();
+
+
 	mod = PyModule_New("_bpy");
 
 	/* add the module so we can import it */





More information about the Bf-blender-cvs mailing list