Work on fixing compile.

This commit is contained in:
Relintai 2023-01-09 14:10:53 +01:00
parent a06914f234
commit fc6545713c

View File

@ -314,9 +314,9 @@ void TextureMerger::_bind_methods() {
ADD_SIGNAL(MethodInfo("texture_removed"));
#if VERSION_MAJOR < 4
BIND_VMETHOD(MethodInfo("_texture_merged"));
BIND_VMETHOD(MethodInfo("_texture_added", PropertyInfo(Variant::OBJECT, "texture", PROPERTY_HINT_RESOURCE_TYPE, "AtlasTexture")));
BIND_VMETHOD(MethodInfo("_texture_removed"));
//BIND_VMETHOD(MethodInfo("_texture_merged"));
//BIND_VMETHOD(MethodInfo("_texture_added", PropertyInfo(Variant::OBJECT, "texture", PROPERTY_HINT_RESOURCE_TYPE, "AtlasTexture")));
//BIND_VMETHOD(MethodInfo("_texture_removed"));
#else
GDVIRTUAL_BIND(_texture_merged);
GDVIRTUAL_BIND(_texture_added, "texture");