|
@@ -2082,7 +2082,11 @@ static void _find_identifiers_in_base(const GDScriptCompletionContext &p_context
|
|
|
|
|
|
if (!p_only_functions) {
|
|
if (!p_only_functions) {
|
|
List<PropertyInfo> members;
|
|
List<PropertyInfo> members;
|
|
- tmp.get_property_list(&members);
|
|
|
|
|
|
+ if (p_base.value.get_type() != Variant::NIL) {
|
|
|
|
+ p_base.value.get_property_list(&members);
|
|
|
|
+ } else {
|
|
|
|
+ tmp.get_property_list(&members);
|
|
|
|
+ }
|
|
|
|
|
|
for (List<PropertyInfo>::Element *E = members.front(); E; E = E->next()) {
|
|
for (List<PropertyInfo>::Element *E = members.front(); E; E = E->next()) {
|
|
if (String(E->get().name).find("/") == -1) {
|
|
if (String(E->get().name).find("/") == -1) {
|