diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-01-23 22:24:45 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-01-23 22:24:45 +0300 |
commit | 23a3a51e16c72d347f15790ed9e4d7bdc2d4f44a (patch) | |
tree | dd3279b095031344d2bc4bb19eee263d5b1ef6bc /source/blender/python/BPY_extern.h | |
parent | 5aad4bfceb454974e0800bfab08271c8b3baaff3 (diff) |
Blender's debug mode only worked on startup:
- G.f's G_DEBUG flag was being erased in blenkernel/intern/blender.c's
setup_app_data:
G.f= bfd->globalf
// added a line above it to fix this:
if (G.f & G_DEBUG) bfd->globalf |=G_DEBUG;
G.f= bfd->globalf;
BPython:
- debug info now only shown if Blender is started with '-d' option
- added ~/.blender/scripts to modules sys.path
- added two new functions to Blender.sys: basename and splitext
- added doc for Blender.sys, updated other docs
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r-- | source/blender/python/BPY_extern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index b55d55b0ffe..66fd86a57a4 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -73,3 +73,4 @@ void BPY_clear_script(struct Script *script); void BPY_free_finished_script(struct Script *script); void init_syspath(void); +void syspath_append(char *dir); |