diff options
author | Juan Linietsky <reduzio@gmail.com> | 2019-07-12 10:12:48 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-02-11 11:53:28 +0100 |
commit | 50e9befb888480a3d6cb2fa46b58c0753b69bd86 (patch) | |
tree | 7aea152932d6197eb3034e893e125df8e63b54e3 /editor/spatial_editor_gizmos.cpp | |
parent | ef083a583b3bd833d36fadb80a9ee8e9081d394e (diff) |
Changes to material required to add custom shaders in RD renderer
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 beee7b87f0..1120d566be 100644 --- a/editor/spatial_editor_gizmos.cpp +++ b/editor/spatial_editor_gizmos.cpp @@ -1585,7 +1585,7 @@ Position3DSpatialGizmoPlugin::Position3DSpatialGizmoPlugin() { mat->set_flag(SpatialMaterial::FLAG_ALBEDO_FROM_VERTEX_COLOR, true); mat->set_flag(SpatialMaterial::FLAG_SRGB_VERTEX_COLOR, true); mat->set_feature(SpatialMaterial::FEATURE_TRANSPARENT, true); - mat->set_line_width(3); + Array d; d.resize(VS::ARRAY_MAX); d[Mesh::ARRAY_VERTEX] = cursor_points; |