summaryrefslogtreecommitdiffstats
path: root/scene/3d/ray_cast.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-07-12 10:12:48 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 11:53:28 +0100
commit50e9befb888480a3d6cb2fa46b58c0753b69bd86 (patch)
tree7aea152932d6197eb3034e893e125df8e63b54e3 /scene/3d/ray_cast.cpp
parentef083a583b3bd833d36fadb80a9ee8e9081d394e (diff)
downloadredot-engine-50e9befb888480a3d6cb2fa46b58c0753b69bd86.tar.gz
Changes to material required to add custom shaders in RD renderer
Diffstat (limited to 'scene/3d/ray_cast.cpp')
-rw-r--r--scene/3d/ray_cast.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/3d/ray_cast.cpp b/scene/3d/ray_cast.cpp
index fbe3cd7a3e..7f764a737a 100644
--- a/scene/3d/ray_cast.cpp
+++ b/scene/3d/ray_cast.cpp
@@ -337,7 +337,6 @@ void RayCast::_create_debug_shape() {
Ref<SpatialMaterial> line_material = static_cast<Ref<SpatialMaterial> >(debug_material);
line_material->set_flag(SpatialMaterial::FLAG_UNSHADED, true);
- line_material->set_line_width(3.0);
line_material->set_albedo(Color(1.0, 0.8, 0.6));
}