diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2009-09-28 07:56:31 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2009-09-28 07:56:31 +0400 |
commit | 002ac28643a4dcadc63b8723e964107e06043cd0 (patch) | |
tree | dd26feed82935e3257e673445990ac9239ac2da1 /source/blender/freestyle/intern/app_blender/AppConfig.cpp | |
parent | 1ff038397fd3256c45899667bf1c3cba83947fa3 (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-x | source/blender/freestyle/intern/app_blender/AppConfig.cpp | 4 |
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; } |