diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-06-24 13:43:13 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-06-24 13:43:13 +0400 |
commit | 61efb63b0c7e4bdb62d2d4007205db34ed627623 (patch) | |
tree | a1ba4ec29dbd028b9bd930c81d67284affcab3b9 /source/blender/python/api2_2x/Library.c | |
parent | 5b57d007a4f123a23f704a8d4aff431588e439b7 (diff) |
BPython:
- Added function Blender.Save(filename) to save .blend files.
- Added scriptlink-related methods (get, clear, add) to Scene and Materials. Will still add method remove and add these methods to World, Object, Camera and Lamp.
- Updates and small fixes in docs.
Diffstat (limited to 'source/blender/python/api2_2x/Library.c')
-rw-r--r-- | source/blender/python/api2_2x/Library.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/Library.c b/source/blender/python/api2_2x/Library.c index 3b546d8f4f0..d281c21dbc4 100644 --- a/source/blender/python/api2_2x/Library.c +++ b/source/blender/python/api2_2x/Library.c @@ -36,12 +36,13 @@ #include <Python.h> #include <stdio.h> +#include <DNA_ID.h> +#include <BKE_library.h> /* for all_local */ #include "BKE_displist.h" /* for set_displist_onlyzero */ #include "BKE_font.h" /* for text_to_curve */ -#include "BKE_library.h" /* for all_local */ -#include "BLO_readfile.h" -#include "BLI_linklist.h" -#include "MEM_guardedalloc.h" +#include <BLO_readfile.h> +#include <BLI_linklist.h> +#include <MEM_guardedalloc.h> #include "gen_utils.h" #include "modules.h" |