Blender Git Loki
Git Commits -> Revision b7b4f94
Revision b7b4f94 by Tamito Kajiyama (master) April 11, 2014, 07:36 (GMT) |
Fix for Freestyle Python API modules not found in the Python Console. Addition of the path to the Freestyle Python API modules to 'sys.path' was delayed until the first Freestyle rendering, so that any import attempt of the modules in the Python Console always failed. Now the update of 'sys.path' is done at Blender start-up. This allows the Freestyle-specific modules to be imported without running Freestyle, facilitating quick interactive testing in the Console. |
Commit Details:
Full Hash: b7b4f94e782f7e74c5acf0af19dfda07fdd92568
Parent Commit: 52a5d58
Lines Changed: +19, -69
5 Modified Paths:
/source/blender/freestyle/intern/application/Controller.cpp (+0, -1) (Diff)
/source/blender/freestyle/intern/python/BPy_Freestyle.cpp (+17, -0) (Diff)
/source/blender/freestyle/intern/system/Interpreter.h (+1, -1) (Diff)
/source/blender/freestyle/intern/system/PythonInterpreter.cpp (+0, -7) (Diff)
/source/blender/freestyle/intern/system/PythonInterpreter.h (+1, -60) (Diff)
/source/blender/freestyle/intern/python/BPy_Freestyle.cpp (+17, -0) (Diff)
/source/blender/freestyle/intern/system/Interpreter.h (+1, -1) (Diff)
/source/blender/freestyle/intern/system/PythonInterpreter.cpp (+0, -7) (Diff)
/source/blender/freestyle/intern/system/PythonInterpreter.h (+1, -60) (Diff)