diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-26 14:54:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-26 14:54:02 +0400 |
commit | 0e3de1df4bee62d12a347e74216afa2b42632070 (patch) | |
tree | b4f1d537f5aed407f91371d008a82a1e9ea8ded8 /source/blender/python/intern/bpy_interface.c | |
parent | 0e6f8e3e25d9c48501c12cdb56bc78868b568ff5 (diff) |
fix [#31661] Custom properties do no respect min/max values
also renamed function added prev commit
Diffstat (limited to 'source/blender/python/intern/bpy_interface.c')
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 39621fcf390..94cbee383ea 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -510,7 +510,7 @@ void BPY_DECREF(void *pyob_ptr) PyGILState_Release(gilstate); } -void BPY_RNA_DECREF_INVALIDATE(void *pyob_ptr) +void BPY_DECREF_RNA_INVALIDATE(void *pyob_ptr) { PyGILState_STATE gilstate = PyGILState_Ensure(); const int do_invalidate = (Py_REFCNT((PyObject *)pyob_ptr) > 1); |