Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-12 23:53:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-12 23:58:06 +0400
commita397009181c8fa76501f09029d7f308e4961df51 (patch)
treeb18e35edddad2aaf1e5ef23c7c291c438f884777 /source/creator
parent70905a6e02a05b650acfb894265b3a2d201f193b (diff)
Fix T38541: sys.exit fails when blender is built as a py-module
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 8fdd19e007a..dbb7bef9723 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -1746,7 +1746,7 @@ int main(int argc, const char **argv)
#ifdef WITH_PYTHON_MODULE
void main_python_exit(void)
{
- WM_exit((bContext *)evil_C);
+ WM_exit_ext((bContext *)evil_C, true);
evil_C = NULL;
}
#endif