You've already forked godot
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user