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:
parent
ae39abe7f3
commit
49032a8ca5
|
@ -4050,7 +4050,7 @@ static PyObject *BPy_StringProperty(PyObject *self, PyObject *args, PyObject *kw
|
|||
if (bpy_prop_callback_check(set_fn, "set", 2) == -1) {
|
||||
return NULL;
|
||||
}
|
||||
if (bpy_prop_callback_check(set_fn, "search", 3) == -1) {
|
||||
if (bpy_prop_callback_check(search_fn, "search", 3) == -1) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue