Compare commits
No commits in common. "f14a19b9472262ddb1d346d4adb8728d33e07002" and "abb2af7d272cac574ac40ec1dba66b1a00d08830" have entirely different histories.
f14a19b947
...
abb2af7d27
|
@ -120,9 +120,8 @@ void LimboDebuggerTab::_update_bt_instance_list(const Vector<BTInstanceInfo> &p_
|
|||
bt_instance_list->clear();
|
||||
int select_idx = -1;
|
||||
bool selection_filtered_out = false;
|
||||
String filter = p_filter.to_lower();
|
||||
for (const BTInstanceInfo &info : p_instances) {
|
||||
if (filter.is_empty() || info.owner_node_path.to_lower().contains(filter)) {
|
||||
if (p_filter.is_empty() || info.owner_node_path.contains(p_filter)) {
|
||||
int idx = bt_instance_list->add_item(info.owner_node_path);
|
||||
bt_instance_list->set_item_metadata(idx, info.instance_id);
|
||||
// Make item text shortened from the left, e.g ".../Agent/BTPlayer".
|
||||
|
|
Loading…
Reference in New Issue