Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-07-09 04:13:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-09 04:13:17 +0400
commit14ab39c5e0922ad1f7b92abda7c2cc73df03006f (patch)
treeccc9fac0b9b7dc8d9550cb049b2ab443f0d783fe /source/blender/python/generic/idprop_py_api.c
parent6c0d97fbcfaf60d6d932bb96f01e8caf30062c50 (diff)
minor improvements
- calc normals only check flag when needed. - keymap, dont get name unless its needed. - keymap, avoid property lookup. - idprop debug print, include pointer, helpful for troubleshooting.
Diffstat (limited to 'source/blender/python/generic/idprop_py_api.c')
-rw-r--r--source/blender/python/generic/idprop_py_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c
index 85bb8125a3a..fc4b78b5c05 100644
--- a/source/blender/python/generic/idprop_py_api.c
+++ b/source/blender/python/generic/idprop_py_api.c
@@ -1531,7 +1531,7 @@ void IDP_spit(IDProperty *prop)
ret_str = PyObject_Repr(ret_dict);
Py_DECREF(ret_dict);
- printf("IDProperty: %s\n", _PyUnicode_AsString(ret_str));
+ printf("IDProperty(%p): %s\n", prop, _PyUnicode_AsString(ret_str));
Py_DECREF(ret_str);