From 23a3a51e16c72d347f15790ed9e4d7bdc2d4f44a Mon Sep 17 00:00:00 2001 From: Willian Padovani Germano Date: Fri, 23 Jan 2004 19:24:45 +0000 Subject: 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 --- source/blender/python/BPY_extern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/python/BPY_extern.h') 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); -- cgit v1.2.3