diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-04-21 01:15:17 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-04-21 01:15:17 +0400 |
commit | 62e6d8e757652e2057ff47b5450beb17464c933e (patch) | |
tree | b3cabb470110eef0b9eebfb07c3aead9cda36263 /source/blender/freestyle/intern/system | |
parent | c66acbf3d990c4a4fbd535a796ba712abe11489b (diff) |
Fix for a crash due to uninitialized local Main (introduced in revision 56127).
Diffstat (limited to 'source/blender/freestyle/intern/system')
-rw-r--r-- | source/blender/freestyle/intern/system/PythonInterpreter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/system/PythonInterpreter.h b/source/blender/freestyle/intern/system/PythonInterpreter.h index 7c271252a32..b52a539f94a 100644 --- a/source/blender/freestyle/intern/system/PythonInterpreter.h +++ b/source/blender/freestyle/intern/system/PythonInterpreter.h @@ -59,6 +59,7 @@ public: { _language = "Python"; _context = 0; + memset(&_freestyle_bmain, 0, sizeof(Main)); //Py_Initialize(); } |