mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Fix always true/false values
This commit is contained in:
parent
7a8dcb9a11
commit
072e40368e
32 changed files with 128 additions and 184 deletions
|
@ -188,7 +188,6 @@ void VisualScriptPropertySelector::_update_search() {
|
|||
}
|
||||
}
|
||||
}
|
||||
bool script_methods = false;
|
||||
{
|
||||
if (type != Variant::NIL) {
|
||||
Variant v;
|
||||
|
@ -211,7 +210,7 @@ void VisualScriptPropertySelector::_update_search() {
|
|||
for (List<MethodInfo>::Element *M = methods.front(); M; M = M->next()) {
|
||||
|
||||
String name = M->get().name.get_slice(":", 0);
|
||||
if (!script_methods && name.begins_with("_") && !(M->get().flags & METHOD_FLAG_VIRTUAL))
|
||||
if (name.begins_with("_") && !(M->get().flags & METHOD_FLAG_VIRTUAL))
|
||||
continue;
|
||||
|
||||
if (virtuals_only && !(M->get().flags & METHOD_FLAG_VIRTUAL))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue