summaryrefslogtreecommitdiff
path: root/scene/3d/multimesh_instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/multimesh_instance.cpp')
-rw-r--r--scene/3d/multimesh_instance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/multimesh_instance.cpp b/scene/3d/multimesh_instance.cpp
index f90489f1f0..ce7b97be7f 100644
--- a/scene/3d/multimesh_instance.cpp
+++ b/scene/3d/multimesh_instance.cpp
@@ -55,10 +55,10 @@ PoolVector<Face3> MultiMeshInstance::get_faces(uint32_t p_usage_flags) const {
return PoolVector<Face3>();
}
-Rect3 MultiMeshInstance::get_aabb() const {
+AABB MultiMeshInstance::get_aabb() const {
if (multimesh.is_null())
- return Rect3();
+ return AABB();
else
return multimesh->get_aabb();
}