diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-09-24 15:44:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-24 15:44:37 +0200 |
| commit | e95e847c015b0612d494f68ef308137fbaf74a7e (patch) | |
| tree | 4fb8637df60c721e17f09bd8402174425e1b1cc9 /editor/spatial_editor_gizmos.cpp | |
| parent | 9a327998f448ddaaa43881ac7bc03ac658538672 (diff) | |
| parent | 97143e60c10488adf1b8fce8d3426b1ab2e578cc (diff) | |
| download | redot-engine-e95e847c015b0612d494f68ef308137fbaf74a7e.tar.gz | |
Merge pull request #32307 from neikeq/mesege
Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
Diffstat (limited to 'editor/spatial_editor_gizmos.cpp')
| -rw-r--r-- | editor/spatial_editor_gizmos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/spatial_editor_gizmos.cpp b/editor/spatial_editor_gizmos.cpp index 9f940c46e6..b9f26d666d 100644 --- a/editor/spatial_editor_gizmos.cpp +++ b/editor/spatial_editor_gizmos.cpp @@ -729,7 +729,7 @@ void EditorSpatialGizmo::set_plugin(EditorSpatialGizmoPlugin *p_plugin) { void EditorSpatialGizmo::_bind_methods() { ClassDB::bind_method(D_METHOD("add_lines", "lines", "material", "billboard"), &EditorSpatialGizmo::add_lines, DEFVAL(false)); - ClassDB::bind_method(D_METHOD("add_mesh", "mesh", "billboard", "skeleton", "material"), &EditorSpatialGizmo::add_mesh, DEFVAL(false), DEFVAL(RID()), DEFVAL(Variant())); + ClassDB::bind_method(D_METHOD("add_mesh", "mesh", "billboard", "skeleton", "material"), &EditorSpatialGizmo::add_mesh, DEFVAL(false), DEFVAL(Variant()), DEFVAL(Variant())); ClassDB::bind_method(D_METHOD("add_collision_segments", "segments"), &EditorSpatialGizmo::add_collision_segments); ClassDB::bind_method(D_METHOD("add_collision_triangles", "triangles"), &EditorSpatialGizmo::add_collision_triangles); ClassDB::bind_method(D_METHOD("add_unscaled_billboard", "material", "default_scale"), &EditorSpatialGizmo::add_unscaled_billboard, DEFVAL(1)); |
