summaryrefslogtreecommitdiff
path: root/scene/3d/immediate_geometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/immediate_geometry.cpp')
-rw-r--r--scene/3d/immediate_geometry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/immediate_geometry.cpp b/scene/3d/immediate_geometry.cpp
index 8c1ad1d052..128c8b44c3 100644
--- a/scene/3d/immediate_geometry.cpp
+++ b/scene/3d/immediate_geometry.cpp
@@ -65,7 +65,7 @@ void ImmediateGeometry::add_vertex(const Vector3 &p_vertex) {
VS::get_singleton()->immediate_vertex(im, p_vertex);
if (empty) {
- aabb.pos = p_vertex;
+ aabb.position = p_vertex;
aabb.size = Vector3();
empty = false;
} else {