diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-06-07 18:18:55 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-06-07 18:20:04 -0300 |
commit | 5bf810b5db953d3f58acdd2d05d5410897f41d63 (patch) | |
tree | 15497d5b43527c997abb5c50bcba2675704431dc /scene/3d/listener.cpp | |
parent | 5f5d629c8ad654fddbf17850c6fad2999d10daf7 (diff) | |
download | redot-engine-5bf810b5db953d3f58acdd2d05d5410897f41d63.tar.gz |
-Added proper access to depth texture from shader
-Split Mesh into Mesh (abstrat class) and ArrayMesh, to allow to proper mesh primitives, as well as streamable meshes in the future.
Diffstat (limited to 'scene/3d/listener.cpp')
-rw-r--r-- | scene/3d/listener.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/listener.cpp b/scene/3d/listener.cpp index 148afbffa2..c7d3bac2f8 100644 --- a/scene/3d/listener.cpp +++ b/scene/3d/listener.cpp @@ -152,7 +152,7 @@ bool Listener::_can_gizmo_scale() const { } RES Listener::_get_gizmo_geometry() const { - Ref<Mesh> mesh = memnew(Mesh); + Ref<ArrayMesh> mesh = memnew(ArrayMesh); return mesh; } |