Revision: 21345
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21345
Author:   campbellbarton
Date:     2009-07-03 13:46:46 +0200 (Fri, 03 Jul 2009)

Log Message:
-----------
fix for own missing var in recent commit.

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/editors/include/UI_interface.h
    branches/blender2.5/blender/source/blender/python/intern/bpy_interface.c

Modified: 
branches/blender2.5/blender/source/blender/editors/include/UI_interface.h
===================================================================
--- branches/blender2.5/blender/source/blender/editors/include/UI_interface.h   
2009-07-03 11:24:52 UTC (rev 21344)
+++ branches/blender2.5/blender/source/blender/editors/include/UI_interface.h   
2009-07-03 11:46:46 UTC (rev 21345)
@@ -51,6 +51,7 @@
 struct rctf;
 struct uiStyle;
 struct uiFontStyle;
+struct uiWidgetColors;
 struct ColorBand;
 struct CurveMapping;
 struct Image;

Modified: 
branches/blender2.5/blender/source/blender/python/intern/bpy_interface.c
===================================================================
--- branches/blender2.5/blender/source/blender/python/intern/bpy_interface.c    
2009-07-03 11:24:52 UTC (rev 21344)
+++ branches/blender2.5/blender/source/blender/python/intern/bpy_interface.c    
2009-07-03 11:46:46 UTC (rev 21345)
@@ -151,6 +151,7 @@
 /* must be called before Py_Initialize */
 void BPY_start_python_path(void)
 {
+       char py_path[FILE_MAXDIR + 11] = "";
        char *py_path_bundle= BLI_gethome_folder("python");
 
        if(py_path_bundle==NULL)
@@ -171,7 +172,7 @@
        sprintf(py_path, "PYTHONPATH=%s", py_path_bundle)
        putenv(py_path);
 #else
-       setenv("PYTHONPATH", py_path_bundle, 1); /* initializing the video 
driver can cause crashes on some systems - Campbell */
+       setenv("PYTHONPATH", py_path_bundle, 1);
 #endif
 #endif
 


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

Reply via email to