summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 14:19:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-10-31 14:19:06 +0100
commit2af7a2367aaff08ac2f826be419ab838add7200b (patch)
treede9424f1b2981cda023a0da888b77f0c89ca57c5
parent6a9317c9fc8f943586a8cbe6d0d6be6e356add28 (diff)
parenteb5bfe158e4bc0199a688a2c3379d8ed9d8f45c7 (diff)
Merge pull request #68005 from timothyqiu/type-mismatch
Fix type mismatch error when deselecting a 3D gizmo
-rw-r--r--editor/plugins/node_3d_editor_gizmos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_gizmos.cpp b/editor/plugins/node_3d_editor_gizmos.cpp
index 508e485a86..0f0d60c171 100644
--- a/editor/plugins/node_3d_editor_gizmos.cpp
+++ b/editor/plugins/node_3d_editor_gizmos.cpp
@@ -1145,7 +1145,7 @@ int EditorNode3DGizmoPlugin::subgizmos_intersect_ray(const EditorNode3DGizmo *p_
}
Vector<int> EditorNode3DGizmoPlugin::subgizmos_intersect_frustum(const EditorNode3DGizmo *p_gizmo, const Camera3D *p_camera, const Vector<Plane> &p_frustum) const {
- TypedArray<Transform3D> frustum;
+ TypedArray<Plane> frustum;
frustum.resize(p_frustum.size());
for (int i = 0; i < p_frustum.size(); i++) {
frustum[i] = p_frustum[i];