1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fixed a bunch of connection errors in TextureEditorPlugin

This commit is contained in:
Yuri Roubinsky
2021-06-12 07:44:38 +03:00
parent fe7559f751
commit 19afaa0203
11 changed files with 29 additions and 18 deletions

View File

@@ -30,6 +30,7 @@
#include "nine_patch_rect.h"
#include "scene/scene_string_names.h"
#include "servers/rendering_server.h"
void NinePatchRect::_notification(int p_what) {
@@ -97,7 +98,7 @@ void NinePatchRect::set_texture(const Ref<Texture2D> &p_tex) {
texture->set_flags(texture->get_flags()&(~Texture::FLAG_REPEAT)); //remove repeat from texture, it looks bad in sprites
*/
minimum_size_changed();
emit_signal("texture_changed");
emit_signal(SceneStringNames::get_singleton()->texture_changed);
}
Ref<Texture2D> NinePatchRect::get_texture() const {