You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename shader parameter uniform setter/getter methods for consistency
`shader_uniform` is now consistenly used across both per-shader and per-instance shader uniform methods. This makes methods easier to find in the class reference when looking for them.
This commit is contained in:
@@ -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(¶ms);
|
||||
src_mat->get_shader()->get_shader_uniform_list(¶ms);
|
||||
for (const PropertyInfo &E : params) {
|
||||
material->set(E.name, src_mat->get(E.name));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user