You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Port remaining connections to callable_mp
This commit is contained in:
@@ -214,10 +214,6 @@ void TextureLayeredEditor::edit(Ref<TextureLayered> p_texture) {
|
||||
}
|
||||
}
|
||||
|
||||
void TextureLayeredEditor::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_layer_changed"), &TextureLayeredEditor::_layer_changed);
|
||||
}
|
||||
|
||||
TextureLayeredEditor::TextureLayeredEditor() {
|
||||
set_texture_repeat(TextureRepeat::TEXTURE_REPEAT_ENABLED);
|
||||
set_custom_minimum_size(Size2(1, 150));
|
||||
@@ -249,7 +245,7 @@ TextureLayeredEditor::TextureLayeredEditor() {
|
||||
info->add_theme_constant_override("shadow_offset_y", 2);
|
||||
|
||||
setting = false;
|
||||
layer->connect("value_changed", Callable(this, "_layer_changed"));
|
||||
layer->connect("value_changed", callable_mp(this, &TextureLayeredEditor::_layer_changed));
|
||||
}
|
||||
|
||||
TextureLayeredEditor::~TextureLayeredEditor() {
|
||||
|
||||
Reference in New Issue
Block a user