Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Curioni <maxime.curioni@gmail.com>2009-09-28 07:56:31 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2009-09-28 07:56:31 +0400
commit002ac28643a4dcadc63b8723e964107e06043cd0 (patch)
treedd26feed82935e3257e673445990ac9239ac2da1 /source/blender/freestyle/intern/app_blender/AppConfig.cpp
parent1ff038397fd3256c45899667bf1c3cba83947fa3 (diff)
Migration of Freestyle to Blender 2.5 codebase (continued):
- proper Freestyle initialization, with support for undo/redo - re-added FreestyleStyleConfig data structure - Freestyle Python interpreter updated This commit should compile without errors. More work is necessary to complete the migration: - add Freestyle in the UI - set up RNA support
Diffstat (limited to 'source/blender/freestyle/intern/app_blender/AppConfig.cpp')
-rwxr-xr-xsource/blender/freestyle/intern/app_blender/AppConfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/app_blender/AppConfig.cpp b/source/blender/freestyle/intern/app_blender/AppConfig.cpp
index 049eccb54a0..9d31d4660d4 100755
--- a/source/blender/freestyle/intern/app_blender/AppConfig.cpp
+++ b/source/blender/freestyle/intern/app_blender/AppConfig.cpp
@@ -25,7 +25,7 @@
using namespace std;
extern "C" {
- #include "api2_2x/EXPP_interface.h"
+ #include "BLI_util.h"
}
namespace Config {
@@ -33,7 +33,7 @@ Path* Path::_pInstance = 0;
Path::Path() {
// get the root directory
//soc
- setRootDir( bpy_gethome(1) );
+ setRootDir( BLI_gethome_folder("scripts") );
_pInstance = this;
}