Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_layout.c
| Context not available. | |||||
| #include "BLI_listbase.h" | #include "BLI_listbase.h" | ||||
| #include "BLI_string.h" | #include "BLI_string.h" | ||||
| #include "BLI_string_utf8.h" | |||||
| #include "BLI_rect.h" | #include "BLI_rect.h" | ||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "BLI_math.h" | #include "BLI_math.h" | ||||
| Context not available. | |||||
| } | } | ||||
| if (name) { | if (name) { | ||||
| #ifdef WITH_PYTHON | |||||
| if (skip_filter || BLI_strcasestr_utf8(name, str)) { | |||||
| #else | |||||
| if (skip_filter || BLI_strcasestr(name, str)) { | if (skip_filter || BLI_strcasestr(name, str)) { | ||||
| #endif | |||||
| cis = MEM_callocN(sizeof(CollItemSearch), "CollectionItemSearch"); | cis = MEM_callocN(sizeof(CollItemSearch), "CollectionItemSearch"); | ||||
| cis->name = MEM_dupallocN(name); | cis->name = MEM_dupallocN(name); | ||||
| cis->index = i; | cis->index = i; | ||||
| Context not available. | |||||