Make C# bindings generator ignore disabled classes
(cherry picked from commit 92c7fe422b
)
This commit is contained in:
parent
c6a48e11e9
commit
94debea0a9
|
@ -1768,6 +1768,13 @@ void BindingsGenerator::_populate_object_type_interfaces() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!ClassDB::is_class_enabled(type_cname)) {
|
||||||
|
if (verbose_output)
|
||||||
|
WARN_PRINTS("Ignoring type " + type_cname.operator String() + " because it's not enabled");
|
||||||
|
class_list.pop_front();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
ClassDB::ClassInfo *class_info = ClassDB::classes.getptr(type_cname);
|
ClassDB::ClassInfo *class_info = ClassDB::classes.getptr(type_cname);
|
||||||
|
|
||||||
TypeInterface itype = TypeInterface::create_object_type(type_cname, api_type);
|
TypeInterface itype = TypeInterface::create_object_type(type_cname, api_type);
|
||||||
|
|
Loading…
Reference in New Issue