aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/camera.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-06-27 23:21:45 -0300
committerJuan Linietsky2014-06-27 23:21:45 -0300
commit2af2a84a03fd707cfa4c682aff34d722343d8985 (patch)
tree50d064e8bba7d5efb5974e3fa3a67e076fb5ef8b /scene/3d/camera.cpp
parent1cc96a4d7440d9e8a20f7dbf17cf5771170de83d (diff)
downloadgodot-2af2a84a03fd707cfa4c682aff34d722343d8985.tar.gz
godot-2af2a84a03fd707cfa4c682aff34d722343d8985.tar.zst
godot-2af2a84a03fd707cfa4c682aff34d722343d8985.zip
Diffstat (limited to 'scene/3d/camera.cpp')
-rw-r--r--scene/3d/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/camera.cpp b/scene/3d/camera.cpp
index ecdfc8a7f..56fbf358b 100644
--- a/scene/3d/camera.cpp
+++ b/scene/3d/camera.cpp
@@ -344,7 +344,7 @@ RES Camera::_get_gizmo_geometry() const {
mat->set_line_width(4);
mat->set_flag(Material::FLAG_DOUBLE_SIDED,true);
mat->set_flag(Material::FLAG_UNSHADED,true);
- mat->set_hint(Material::HINT_NO_DEPTH_DRAW,true);
+ //mat->set_hint(Material::HINT_NO_DEPTH_DRAW,true);
surface_tool->begin(Mesh::PRIMITIVE_LINES);
surface_tool->set_material(mat);