You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[Scene] Add SceneStringName::toggled
This commit is contained in:
@@ -6382,7 +6382,7 @@ VisualShaderEditor::VisualShaderEditor() {
|
||||
custom_mode_box->set_text(TTR("Custom"));
|
||||
custom_mode_box->set_pressed(false);
|
||||
custom_mode_box->set_visible(false);
|
||||
custom_mode_box->connect("toggled", callable_mp(this, &VisualShaderEditor::_custom_mode_toggled));
|
||||
custom_mode_box->connect(SceneStringName(toggled), callable_mp(this, &VisualShaderEditor::_custom_mode_toggled));
|
||||
|
||||
edit_type_standard = memnew(OptionButton);
|
||||
edit_type_standard->add_item(TTR("Vertex"));
|
||||
|
||||
Reference in New Issue
Block a user