[Bf-blender-cvs] [3d9b415] master: PyC_RunQuicky: Print filename when its missing
Campbell Barton
noreply at git.blender.org
Mon Apr 28 18:56:13 CEST 2014
Commit: 3d9b4159a43231efdddd39a4bdcd156100dd7d9a
Author: Campbell Barton
Date: Tue Apr 29 02:55:02 2014 +1000
https://developer.blender.org/rB3d9b4159a43231efdddd39a4bdcd156100dd7d9a
PyC_RunQuicky: Print filename when its missing
===================================================================
M source/blender/python/generic/py_capi_utils.c
===================================================================
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
index 6f72a29..44b551c 100644
--- a/source/blender/python/generic/py_capi_utils.c
+++ b/source/blender/python/generic/py_capi_utils.c
@@ -762,6 +762,9 @@ void PyC_RunQuicky(const char *filepath, int n, ...)
PyGILState_Release(gilstate);
}
+ else {
+ fprintf(stderr, "%s: '%s' missing\n", __func__, filepath);
+ }
}
/* generic function to avoid depending on RNA */
More information about the Bf-blender-cvs
mailing list