Browse Source

interrogate: fix recording type of property in interrogatedb

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

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

@@ -2024,6 +2024,7 @@ get_make_property(CPPMakeProperty *make_property, CPPStructType *struct_type, CP
     if (iproperty._type != 0 && iproperty._type != return_index) {
       cerr << "Property " << property_name << " has inconsistent element type!\n";
     }
+    iproperty._type = return_index;
   } else {
     iproperty._type = 0;
   }