summaryrefslogtreecommitdiffstats
path: root/editor/plugins/visual_shader_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-08-05 02:52:06 +0200
committerGitHub <noreply@github.com>2022-08-05 02:52:06 +0200
commit25915cdd0e8e2baffc4d52692a1c54ad182e2aea (patch)
tree2cd3651660b5fdfb29a6640fdbc5f2f82760f35c /editor/plugins/visual_shader_editor_plugin.cpp
parente36f324bdf0ab805e747e281b2d9dfe2487e553f (diff)
parentdb22b7ded04e2cf7eac1c9a05d625b8b00e2f003 (diff)
downloadredot-engine-25915cdd0e8e2baffc4d52692a1c54ad182e2aea.tar.gz
Merge pull request #59844 from Calinou/rename-shader-param-methods
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.cpp')
-rw-r--r--editor/plugins/visual_shader_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp
index ad82f2e9b2..1c0e879a0a 100644
--- a/editor/plugins/visual_shader_editor_plugin.cpp
+++ b/editor/plugins/visual_shader_editor_plugin.cpp
@@ -6228,7 +6228,7 @@ void VisualShaderNodePortPreview::_shader_changed() {
}
if (src_mat && src_mat->get_shader().is_valid()) {
List<PropertyInfo> params;
- src_mat->get_shader()->get_param_list(&params);
+ src_mat->get_shader()->get_shader_uniform_list(&params);
for (const PropertyInfo &E : params) {
material->set(E.name, src_mat->get(E.name));
}