Fix primitive mesh selection, closes #9210

This commit is contained in:
Juan Linietsky 2017-08-18 19:25:18 -03:00
parent 3f8efdef49
commit 2cb19a53fd

View File

@ -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