diff options
| author | ducdetronquito | 2017-07-11 13:09:24 +0200 |
|---|---|---|
| committer | ducdetronquito | 2017-07-11 13:25:51 +0200 |
| commit | 074801e7a9078c45e281787bc6e856747a957b23 (patch) | |
| tree | 48ac6acf2dd9f22ff59cea5ea94a99fd5c26e4c8 /scene/resources/material.cpp | |
| parent | a5d500f0233913fe7622434225c5dc73ebaccd1e (diff) | |
| download | godot-074801e7a9078c45e281787bc6e856747a957b23.tar.gz godot-074801e7a9078c45e281787bc6e856747a957b23.tar.zst godot-074801e7a9078c45e281787bc6e856747a957b23.zip | |
Diffstat (limited to 'scene/resources/material.cpp')
| -rw-r--r-- | scene/resources/material.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index 705702b8b..a0b192259 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -163,7 +163,7 @@ void ShaderMaterial::_bind_methods() { ClassDB::bind_method(D_METHOD("set_shader", "shader:Shader"), &ShaderMaterial::set_shader); ClassDB::bind_method(D_METHOD("get_shader:Shader"), &ShaderMaterial::get_shader); ClassDB::bind_method(D_METHOD("set_shader_param", "param", "value"), &ShaderMaterial::set_shader_param); - ClassDB::bind_method(D_METHOD("get_shader_param", "param"), &ShaderMaterial::get_shader_param); + ClassDB::bind_method(D_METHOD("get_shader_param:Variant", "param"), &ShaderMaterial::get_shader_param); } void ShaderMaterial::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const { |
