Comment out non-working GDVIRTUAL_BINDs.

This commit is contained in:
Relintai 2023-01-08 16:38:57 +01:00
parent 951ae259e2
commit 3a38f87bd1
2 changed files with 3 additions and 3 deletions

View File

@ -441,7 +441,7 @@ void ItemTemplate::_validate_property(PropertyInfo &property) const {
}
void ItemTemplate::_bind_methods() {
GDVIRTUAL_BIND("_create_item_instance");
//GDVIRTUAL_BIND("_create_item_instance");
ClassDB::bind_method(D_METHOD("create_item_instance"), &ItemTemplate::create_item_instance);
@ -568,7 +568,7 @@ void ItemTemplate::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_text_translation_key", "value"), &ItemTemplate::set_text_translation_key);
ADD_PROPERTY(PropertyInfo(Variant::STRING, "text_translation_key"), "set_text_translation_key", "get_text_translation_key");
GDVIRTUAL_BIND("_get_description");
//GDVIRTUAL_BIND("_get_description");
ClassDB::bind_method(D_METHOD("get_description"), &ItemTemplate::get_description);
//StatMods Property binds

View File

@ -363,6 +363,6 @@ void ESSResourceDB::_bind_methods() {
ClassDB::bind_method(D_METHOD("clear"), &ESSResourceDB::clear);
ClassDB::bind_method(D_METHOD("add_entity_resource_db", "other"), &ESSResourceDB::add_entity_resource_db);
GDVIRTUAL_BIND("_initialize");
//GDVIRTUAL_BIND("_initialize");
ClassDB::bind_method(D_METHOD("initialize"), &ESSResourceDB::initialize);
}