summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-18 19:25:18 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-08-18 19:25:18 -0300
commit2cb19a53fdbf4ad04dc756b98adc671bb412d3e3 (patch)
treee3f36f3261e75791043ed63ba7a1e51dcd70694c
parent3f8efdef498c17df4cb6d697fe3f1a5358894ced (diff)
Fix primitive mesh selection, closes #9210
-rw-r--r--editor/spatial_editor_gizmos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/spatial_editor_gizmos.cpp b/editor/spatial_editor_gizmos.cpp
index 24be2095ce..0e6e7420e2 100644
--- a/editor/spatial_editor_gizmos.cpp
+++ b/editor/spatial_editor_gizmos.cpp
@@ -1150,7 +1150,7 @@ CameraSpatialGizmo::CameraSpatialGizmo(Camera *p_camera) {
void MeshInstanceSpatialGizmo::redraw() {
- Ref<ArrayMesh> m = mesh->get_mesh();
+ Ref<Mesh> m = mesh->get_mesh();
if (!m.is_valid())
return; //none