Browse Source

interrogate: don't mark base types as global

rdb 7 years ago
parent
commit
fa231664bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/interrogate/interrogateBuilder.cxx

+ 1 - 1
dtool/src/interrogate/interrogateBuilder.cxx

@@ -2603,7 +2603,7 @@ define_struct_type(InterrogateType &itype, CPPStructType *cpptype,
     const CPPStructType::Base &base = (*bi);
     const CPPStructType::Base &base = (*bi);
     if (base._vis <= V_public) {
     if (base._vis <= V_public) {
       CPPType *base_type = TypeManager::resolve_type(base._base, scope);
       CPPType *base_type = TypeManager::resolve_type(base._base, scope);
-      TypeIndex base_index = get_type(base_type, true);
+      TypeIndex base_index = get_type(base_type, false);
 
 
       if (base_index == 0) {
       if (base_index == 0) {
         if (base_type != NULL) {
         if (base_type != NULL) {