Campbell Barton ffe7bde02c correct fix for bug #23871, __main__ module was being overwritten in nested functions, so on returning from calling operators the __main__ module could be cleared and imported modules turn into None
calling
  bpy.ops.wm.read_factory_settings()
... would clear a scripts namespace if running directly, not in a module.


Fix by backing up and restoring the __main__ module.

Also found BKE_reportf wasnt printing all reports in background mode as BKE_report() was doing.
2011-02-01 12:37:53 +00:00
2011-01-30 15:29:22 +00:00
2011-01-30 15:29:22 +00:00
2011-01-30 15:29:22 +00:00
2011-01-30 15:29:22 +00:00
2010-10-13 14:44:22 +00:00
S
Description
No description provided
925 MiB
Languages
C++ 78%
Python 11%
C 6.3%
GLSL 2.2%
CMake 1.3%
Other 1.1%