diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-28 14:02:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-28 14:02:10 +0400 |
commit | c43583a23ae0e552779148236f973d20275f9bd0 (patch) | |
tree | 5a881f7c41f6838ac0841495e699b61a2dcbc44c /source/blender/python | |
parent | a798371df157ecd30e4bfd6035c7a4c6a8b1f277 (diff) |
fix for own crash caused by curve refactor, now curve tables are initialized once when the tree is initialized.
thanks to Antony Riakiotakis for providing a fix, though this works a little different.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/generic/py_capi_utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c index 657844ebfff..520773c1ddf 100644 --- a/source/blender/python/generic/py_capi_utils.c +++ b/source/blender/python/generic/py_capi_utils.c @@ -523,7 +523,9 @@ void PyC_SetHomePath(const char *py_path_bundle) } } -/* Would be nice if python had this built in */ +/* Would be nice if python had this built in + * See: http://wiki.blender.org/index.php/Dev:Doc/Tools/Debugging/PyFromC + */ void PyC_RunQuicky(const char *filepath, int n, ...) { FILE *fp = fopen(filepath, "r"); |