fix [#31661] Custom properties do no respect min/max values
also renamed function added prev commit
This commit is contained in:
@@ -80,7 +80,7 @@ int BPY_button_exec(struct bContext *C, const char *expr, double *value, const
|
||||
int BPY_string_exec(struct bContext *C, const char *expr);
|
||||
|
||||
void BPY_DECREF(void *pyob_ptr); /* Py_DECREF() */
|
||||
void BPY_RNA_DECREF_INVALIDATE(void *pyob_ptr);
|
||||
void BPY_DECREF_RNA_INVALIDATE(void *pyob_ptr);
|
||||
int BPY_context_member_get(struct bContext *C, const char *member, struct bContextDataResult *result);
|
||||
void BPY_context_set(struct bContext *C);
|
||||
void BPY_context_update(struct bContext *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);
|
||||
|
||||
Reference in New Issue
Block a user