mirror of
https://github.com/Relintai/texture_packer.git
synced 2024-11-12 10:15:16 +01:00
Work on fixing compile.
This commit is contained in:
parent
a06914f234
commit
fc6545713c
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user