diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-06-12 07:44:38 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-06-12 08:01:02 +0300 |
commit | 19afaa0203fbe5638b9be35f7e43bdba3b8a3641 (patch) | |
tree | 10d588ee03b9ccdcb4d0dd973039903de7e00b35 /scene/resources | |
parent | fe7559f751e81b21da2eb8252123f384b8a8622d (diff) |
Fixed a bunch of connection errors in TextureEditorPlugin
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/style_box.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/resources/style_box.cpp b/scene/resources/style_box.cpp index 2159f1bc97..87371224e0 100644 --- a/scene/resources/style_box.cpp +++ b/scene/resources/style_box.cpp @@ -121,7 +121,6 @@ void StyleBoxTexture::set_texture(Ref<Texture2D> p_texture) { } else { region_rect = Rect2(Point2(), texture->get_size()); } - emit_signal("texture_changed"); emit_changed(); } @@ -285,8 +284,6 @@ void StyleBoxTexture::_bind_methods() { ClassDB::bind_method(D_METHOD("set_v_axis_stretch_mode", "mode"), &StyleBoxTexture::set_v_axis_stretch_mode); ClassDB::bind_method(D_METHOD("get_v_axis_stretch_mode"), &StyleBoxTexture::get_v_axis_stretch_mode); - ADD_SIGNAL(MethodInfo("texture_changed")); - ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "texture", PROPERTY_HINT_RESOURCE_TYPE, "Texture2D"), "set_texture", "get_texture"); ADD_PROPERTY(PropertyInfo(Variant::RECT2, "region_rect"), "set_region_rect", "get_region_rect"); ADD_GROUP("Margin", "margin_"); |