From 9cbc2ac85b25c9a5de7a640b33b10127eb37bec1 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 23 Oct 2019 17:17:45 +0200 Subject: [PATCH] Removed the texture_added signal/vmethod calls from TextureMerger::set_textures, because has_method always returns false in that context. --- texture_merger.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/texture_merger.cpp b/texture_merger.cpp index 860abd8..a975f8b 100644 --- a/texture_merger.cpp +++ b/texture_merger.cpp @@ -96,11 +96,6 @@ void TextureMerger::set_textures(const Vector &textures) { if (texture.is_valid() && !_packer->contains_texture(texture)) { Ref tex = _packer->add_texture(texture); - if (has_method("_texture_added")) - call("_texture_added", tex); - - emit_signal("texture_added", tex); - texture_added = true; } }