projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix [#31661] Custom properties do no respect min/max values
[blender.git]
/
source
/
blender
/
python
/
intern
/
bpy_interface.c
diff --git
a/source/blender/python/intern/bpy_interface.c
b/source/blender/python/intern/bpy_interface.c
index 39621fcf390f8ca759eaa8fc12f5b0ba7304446c..94cbee383ea584aa01d9a80d8e50d25c5a60c326 100644
(file)
--- 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);