fix [#31661] Custom properties do no respect min/max values
[blender.git] / source / blender / python / intern / bpy_interface.c
index 39621fcf390f8ca759eaa8fc12f5b0ba7304446c..94cbee383ea584aa01d9a80d8e50d25c5a60c326 100644 (file)
@@ -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);