diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-09-13 18:12:58 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-13 18:12:58 -0300 |
commit | 909c06ee0f0ab5feced1c9c99a725f7a423ff9f8 (patch) | |
tree | cc86065674317ca4042639b28d01260152cfd97b /servers/visual_server.cpp | |
parent | 06c8b5a4ffb0ab6787edf071463f17df522b3e79 (diff) | |
parent | 3cedec5f754b08d04095d5ebe0cd9532de011268 (diff) |
Merge pull request #21806 from JFonS/inspector_uniform_defaults
Set uniform default values in inspector
Diffstat (limited to 'servers/visual_server.cpp')
-rw-r--r-- | servers/visual_server.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index d4e96bb173..7240266133 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -1695,6 +1695,7 @@ void VisualServer::_bind_methods() { ClassDB::bind_method(D_METHOD("material_get_shader", "shader_material"), &VisualServer::material_get_shader); ClassDB::bind_method(D_METHOD("material_set_param", "material", "parameter", "value"), &VisualServer::material_set_param); ClassDB::bind_method(D_METHOD("material_get_param", "material", "parameter"), &VisualServer::material_get_param); + ClassDB::bind_method(D_METHOD("material_get_param_default", "material", "parameter"), &VisualServer::material_get_param_default); ClassDB::bind_method(D_METHOD("material_set_render_priority", "material", "priority"), &VisualServer::material_set_render_priority); ClassDB::bind_method(D_METHOD("material_set_line_width", "material", "width"), &VisualServer::material_set_line_width); ClassDB::bind_method(D_METHOD("material_set_next_pass", "material", "next_material"), &VisualServer::material_set_next_pass); |