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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user