mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Removed incorrect "Transform" preview from visual shaders
This commit is contained in:
parent
b0da7b66ce
commit
be11b6f04d
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ void VisualShaderEditor::_update_graph() {
|
|||
}
|
||||
}
|
||||
|
||||
if (valid_right && edit_type->get_selected() == VisualShader::TYPE_FRAGMENT) {
|
||||
if (valid_right && edit_type->get_selected() == VisualShader::TYPE_FRAGMENT && port_right != VisualShaderNode::PORT_TYPE_TRANSFORM) {
|
||||
TextureButton *preview = memnew(TextureButton);
|
||||
preview->set_toggle_mode(true);
|
||||
preview->set_normal_texture(get_icon("GuiVisibilityHidden", "EditorIcons"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue