Skip properties with the 'PROPERTY_HINT_BUTTON' hint when building docs.

This commit is contained in:
Relintai 2022-12-22 18:16:58 +01:00
parent f668ceb512
commit e5df1644c7

View File

@ -328,6 +328,10 @@ void DocData::generate(bool p_basic_types) {
EO = EO->next();
}
if (E->get().hint == PROPERTY_HINT_BUTTON) {
continue;
}
if (E->get().usage & PROPERTY_USAGE_GROUP || E->get().usage & PROPERTY_USAGE_CATEGORY || E->get().usage & PROPERTY_USAGE_INTERNAL) {
continue;
}