Fix error checking the search callback
Error in [0] caused the `set` callback be checked as the search callback.
[0]: 3f3d82cfe9
This commit is contained in:
@@ -4050,7 +4050,7 @@ static PyObject *BPy_StringProperty(PyObject *self, PyObject *args, PyObject *kw
|
|||||||
if (bpy_prop_callback_check(set_fn, "set", 2) == -1) {
|
if (bpy_prop_callback_check(set_fn, "set", 2) == -1) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (bpy_prop_callback_check(set_fn, "search", 3) == -1) {
|
if (bpy_prop_callback_check(search_fn, "search", 3) == -1) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user