You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Port remaining connections to callable_mp
This commit is contained in:
@@ -138,10 +138,6 @@ void Texture3DEditor::edit(Ref<Texture3D> p_texture) {
|
||||
}
|
||||
}
|
||||
|
||||
void Texture3DEditor::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_layer_changed"), &Texture3DEditor::_layer_changed);
|
||||
}
|
||||
|
||||
Texture3DEditor::Texture3DEditor() {
|
||||
set_texture_repeat(TextureRepeat::TEXTURE_REPEAT_ENABLED);
|
||||
set_custom_minimum_size(Size2(1, 150));
|
||||
@@ -173,7 +169,7 @@ Texture3DEditor::Texture3DEditor() {
|
||||
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, &Texture3DEditor::_layer_changed));
|
||||
}
|
||||
|
||||
Texture3DEditor::~Texture3DEditor() {
|
||||
|
||||
Reference in New Issue
Block a user