From 935f730170d75955f708b5014da3e11c95fcdac4 Mon Sep 17 00:00:00 2001 From: alexholly Date: Tue, 6 Jun 2017 20:33:51 +0200 Subject: renamed all Rect3.pos to Rect3.position --- scene/3d/collision_polygon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/3d/collision_polygon.cpp') diff --git a/scene/3d/collision_polygon.cpp b/scene/3d/collision_polygon.cpp index a9a693f370..d9321f7134 100644 --- a/scene/3d/collision_polygon.cpp +++ b/scene/3d/collision_polygon.cpp @@ -208,7 +208,7 @@ void CollisionPolygon::set_polygon(const Vector &p_polygon) { aabb = Rect3(Vector3(-1, -1, -1), Vector3(2, 2, 2)); } else { - aabb.pos -= aabb.size * 0.3; + aabb.position -= aabb.size * 0.3; aabb.size += aabb.size * 0.6; } _update_parent(); -- cgit v1.2.3