summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
authorjfons <joan.fonssanchez@gmail.com>2020-11-25 18:45:10 +0100
committerjfons <joan.fonssanchez@gmail.com>2020-11-25 18:55:07 +0100
commite6949dae724b923227bdd61f8732667d997686a7 (patch)
tree69cb14c4f922e2be0827e15c2ff239fbdb8e68e1 /editor
parent0148a62d890e0d559bec86fcac14404c81742899 (diff)
downloadredot-engine-e6949dae724b923227bdd61f8732667d997686a7.tar.gz
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
It was commented for some reason I can't remember.
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp
index b51ea9e1c6..8acfe8a052 100644
--- a/editor/plugins/node_3d_editor_plugin.cpp
+++ b/editor/plugins/node_3d_editor_plugin.cpp
@@ -6690,7 +6690,7 @@ void EditorNode3DGizmoPlugin::_bind_methods() {
ClassDB::bind_method(D_METHOD("create_handle_material", "name", "billboard"), &EditorNode3DGizmoPlugin::create_handle_material, DEFVAL(false));
ClassDB::bind_method(D_METHOD("add_material", "name", "material"), &EditorNode3DGizmoPlugin::add_material);
- ClassDB::bind_method(D_METHOD("get_material", "name", "gizmo"), &EditorNode3DGizmoPlugin::get_material); //, DEFVAL(Ref<EditorNode3DGizmo>()));
+ ClassDB::bind_method(D_METHOD("get_material", "name", "gizmo"), &EditorNode3DGizmoPlugin::get_material, DEFVAL(Ref<EditorNode3DGizmo>()));
BIND_VMETHOD(MethodInfo(Variant::STRING, "get_name"));
BIND_VMETHOD(MethodInfo(Variant::STRING, "get_priority"));