diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-05-25 21:34:21 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-05-25 21:34:21 +0400 |
commit | 8518e500d185e68f2c23015b835328e7c6564b13 (patch) | |
tree | 9ff1f37fadcf1712439f7b7e8c5e9754740a7bd0 /source/blender/freestyle/intern/system/StringUtils.h | |
parent | 8ef2f1d524d81bce565d08f647805e6084de54de (diff) |
soc-2008-mxcurioni: Big update. Finally works (links and compiles). So far, the following steps work:
1. instantiates the config path, the controller and the view
2. sets the controller’s view
3. loads a 3ds file (right now a fixed file)
4. inserts a style module (right now, also fixed)
5. computes the view map
The next and final step is running the Python script. A lot of information are fixed and should be changed to test the following code: see source/blender/freestyle/app_blender/*.cpp and search for fixed paths (starting in /Users/).
I am currently evaluating whether it's worth making Python run on its own environment (right now, the program crashes because of PyImport_AddModule) or whether it should use Blender's Python capabilities. Also, I need to figure out how to integrate the SWIG wrapper dynamic library into the current scheme.
Diffstat (limited to 'source/blender/freestyle/intern/system/StringUtils.h')
-rwxr-xr-x | source/blender/freestyle/intern/system/StringUtils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/system/StringUtils.h b/source/blender/freestyle/intern/system/StringUtils.h index efc16953e48..b30eaae2247 100755 --- a/source/blender/freestyle/intern/system/StringUtils.h +++ b/source/blender/freestyle/intern/system/StringUtils.h @@ -34,8 +34,10 @@ # include "FreestyleConfig.h" //soc +extern "C" { #include "BKE_utildefines.h" #include "BLI_blenlib.h" +} using namespace std; |