diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2019-10-03 10:40:26 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2019-10-03 16:59:49 +0300 |
commit | b11d15d5c3299d15db20ed4f8318a2be5f9d2ff0 (patch) | |
tree | a25f14f252f824e70a3fd43c4cd6338df6ebbd58 /scene/resources/visual_shader.cpp | |
parent | c9781df31604b8dbf463d8ef9f56bcbadfbc8eb6 (diff) | |
download | redot-engine-b11d15d5c3299d15db20ed4f8318a2be5f9d2ff0.tar.gz |
Makes Texture and TextureUniform in visual shaders to use UV by default
Diffstat (limited to 'scene/resources/visual_shader.cpp')
-rw-r--r-- | scene/resources/visual_shader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index 1dba0c5b09..58bbf86241 100644 --- a/scene/resources/visual_shader.cpp +++ b/scene/resources/visual_shader.cpp @@ -103,6 +103,10 @@ String VisualShaderNode::get_warning(Shader::Mode p_mode, VisualShader::Type p_t return String(); } +String VisualShaderNode::get_input_port_default_hint(int p_port) const { + return ""; +} + void VisualShaderNode::_bind_methods() { ClassDB::bind_method(D_METHOD("set_output_port_for_preview", "port"), &VisualShaderNode::set_output_port_for_preview); |